File tree Expand file tree Collapse file tree 2 files changed +9
-772
lines changed
Expand file tree Collapse file tree 2 files changed +9
-772
lines changed Original file line number Diff line number Diff line change 11name : Build WinUI3Crash
2+
23on :
34 push :
45 branches :
56 - master
67 workflow_dispatch :
8+
79jobs :
810 build :
911 runs-on : windows-latest
12+
1013 steps :
1114 - uses : actions/checkout@v4
12-
15+
1316 - name : Setup .NET
1417 uses : actions/setup-dotnet@v4
1518 with :
1619 dotnet-version : ' 8.0.x'
17-
20+
1821 - name : Restore dependencies
1922 run : dotnet restore WinUI3Crash.csproj -r win-x64
20-
23+
2124 - name : Build
2225 run : dotnet build WinUI3Crash.csproj -c Release -r win-x64
23-
26+
2427 - name : Publish
2528 run : dotnet publish WinUI3Crash.csproj -c Release -r win-x64 -p:Platform=x64 --no-self-contained
26-
27- - name : List publish output
28- run : |
29- Write-Host "=== Checking bin folder contents ==="
30- if (Test-Path "bin") {
31- Get-ChildItem -Path "bin" -Recurse | Select-Object FullName
32- } else {
33- Write-Host "bin folder not found!"
34- }
35- shell : pwsh
36-
29+
3730 - name : Upload build artifacts
3831 uses : actions/upload-artifact@v4
3932 with :
4033 name : WinUI3Crash-Build
41- path : bin/x64/Release/net8.0-windows10.0.19041.0/win-x64/publish/
42- if-no-files-found : error
43- retention-days : 30
34+ path : bin/Release/net8.0-windows10.0.19041.0/win-x64/publish/
You can’t perform that action at this time.
0 commit comments