Skip to content

Commit 82a7f48

Browse files
+1
1 parent 2c3dba8 commit 82a7f48

1 file changed

Lines changed: 14 additions & 6 deletions

File tree

.github/workflows/build.yml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ on:
66
jobs:
77

88
build:
9+
10+
strategy:
11+
matrix:
12+
configuration: [Debug, Release]
913

1014
runs-on: windows-latest
1115

@@ -16,11 +20,15 @@ jobs:
1620
- name: Setup MSBuild.exe
1721
uses: microsoft/setup-msbuild@v1.0.2
1822

19-
- name: Setup NuGet
20-
uses: NuGet/setup-nuget@v1.0.2
21-
22-
- name: Restore NuGet Packages
23-
run: nuget restore VirtualDesktopTimecodeServer.sln
23+
- name: Restore the application
24+
run: msbuild VirtualDesktopTimecodeServer.sln /t:Restore /p:Configuration=$env:Configuration
25+
env:
26+
Configuration: ${{ matrix.configuration }}
2427

2528
- name: Create the app package
26-
run: msbuild VirtualDesktopTimecodeServer.sln /p:Configuration=Release
29+
run: msbuild VirtualDesktopTimecodeServer.sln /p:Configuration=$env:Configuration
30+
env:
31+
Appx_Bundle: Always
32+
Appx_Bundle_Platforms: x64
33+
Appx_Package_Build_Mode: StoreUpload
34+
Configuration: ${{ matrix.configuration }}

0 commit comments

Comments
 (0)