File tree Expand file tree Collapse file tree 2 files changed +772
-9
lines changed
Expand file tree Collapse file tree 2 files changed +772
-9
lines changed Original file line number Diff line number Diff line change 11name : Build WinUI3Crash
2-
32on :
43 push :
54 branches :
65 - master
76 workflow_dispatch :
8-
97jobs :
108 build :
119 runs-on : windows-latest
12-
1310 steps :
1411 - uses : actions/checkout@v4
15-
12+
1613 - name : Setup .NET
1714 uses : actions/setup-dotnet@v4
1815 with :
1916 dotnet-version : ' 8.0.x'
20-
17+
2118 - name : Restore dependencies
2219 run : dotnet restore WinUI3Crash.csproj -r win-x64
23-
20+
2421 - name : Build
2522 run : dotnet build WinUI3Crash.csproj -c Release -r win-x64
26-
23+
2724 - name : Publish
2825 run : dotnet publish WinUI3Crash.csproj -c Release -r win-x64 -p:Platform=x64 --no-self-contained
29-
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+
3037 - name : Upload build artifacts
3138 uses : actions/upload-artifact@v4
3239 with :
3340 name : WinUI3Crash-Build
34- path : bin/Release/net8.0-windows10.0.19041.0/win-x64/publish/
41+ path : bin/x64/Release/net8.0-windows10.0.19041.0/win-x64/publish/
42+ if-no-files-found : error
43+ retention-days : 30
You can’t perform that action at this time.
0 commit comments