Skip to content

Commit 642db6c

Browse files
Merge pull request #6 from kathiravan-kk-11767/new_mech
New mech
2 parents 60d9012 + b9ddfec commit 642db6c

File tree

2 files changed

+772
-9
lines changed

2 files changed

+772
-9
lines changed
Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,43 @@
11
name: Build WinUI3Crash
2-
32
on:
43
push:
54
branches:
65
- master
76
workflow_dispatch:
8-
97
jobs:
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

0 commit comments

Comments
 (0)