-
Notifications
You must be signed in to change notification settings - Fork 64
34 lines (28 loc) · 1.01 KB
/
dotnet-desktop.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
name: .NET
on:
push:
pull_request:
jobs:
build:
runs-on: windows-latest
name: "Build"
steps:
- uses: actions/checkout@master
with:
submodules: true
- uses: actions/setup-dotnet@v1
with:
dotnet-version: '8.0.x' # SDK Version to use;
- name: Restore
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Publish
run: dotnet publish '${{ runner.workspace }}/DSMapStudio/src/Studio.App/DSMapStudio/DSMapStudio.csproj' --configuration Release -o deploy
- name: PublishLowRequirements
run: dotnet publish '${{ runner.workspace }}/DSMapStudio/src/Studio.App/DSMapStudio_LowRequirements/DSMapStudio_LowRequirements.csproj' --configuration Release -o deploy
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: 'DSMapStudio-SHA${{ github.sha }}'
path: '${{ runner.workspace }}/DSMapStudio/deploy'