File tree Expand file tree Collapse file tree 1 file changed +12
-9
lines changed
Expand file tree Collapse file tree 1 file changed +12
-9
lines changed Original file line number Diff line number Diff line change 1- name : WinUI Build Test
1+ name : Build WinUI3Crash
22
33on :
44 workflow_dispatch :
55
66jobs :
77 build :
88 runs-on : windows-latest
9- permissions :
10- contents : read
119
1210 steps :
13- - uses : actions/checkout@v4
11+ - uses : actions/checkout@v3
1412
15- - name : Setup MSBuild
16- uses : microsoft/setup-msbuild@v2
13+ - name : Setup .NET
14+ uses : actions/setup-dotnet@v3
15+ with :
16+ dotnet-version : ' 8.0.x'
1717
18- - name : Restore
19- run : nuget restore WinUI3Crash.sln
18+ - name : Restore dependencies
19+ run : dotnet restore WinUI3Crash/WinUI3Crash.csproj -r win10-x64
2020
2121 - name : Build
22- run : msbuild WinUI3Crash.sln /p:Configuration=Release
22+ run : dotnet build WinUI3Crash/WinUI3Crash.csproj -c Release
23+
24+ - name : Publish
25+ run : dotnet publish WinUI3Crash/WinUI3Crash.csproj -c Release -r win10-x64 --self-contained /p:PublishReadyToRun=false
You can’t perform that action at this time.
0 commit comments