-
-
Notifications
You must be signed in to change notification settings - Fork 91
37 lines (34 loc) · 992 Bytes
/
client-cross.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: SysDVR-Client dotnet build
# This is the "cross platform" build of SysDVR-Client, it only produces clean .net binaries without dependencies
# All the other builds are platform specific and produce a native AOT build with all the dependencies included
on:
push:
branches: [ master ]
paths:
- Client/**
# but not the multiplatform builds
- '!Client/Platform/Android/**'
- '!Client/Platform/Linux/**'
pull_request:
branches: [ master ]
paths:
- Client/**
- '!Client/Platform/Android/**'
- '!Client/Platform/Linux/**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v2
with:
dotnet-version: 8.x
- name: Run dotnet build
run: |
cd Client
dotnet build -c Release
- uses: actions/upload-artifact@v4
with:
name: SysDVR-Client-dotnet.zip
path: Client/bin/Release/net8.0/