Skip to content

Commit c5f6ec5

Browse files
Update winui-build-test.yml
1 parent 57ad502 commit c5f6ec5

File tree

1 file changed

+8
-28
lines changed

1 file changed

+8
-28
lines changed
Lines changed: 8 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,22 @@
11
name: WinUI Build Test
2+
23
on:
34
workflow_dispatch:
4-
inputs:
5-
branch:
6-
description: 'Branch to test'
7-
required: false
8-
default: 'copilot/remove-cswinrt-package'
5+
96
jobs:
107
build:
118
runs-on: windows-latest
129
permissions:
1310
contents: read
11+
1412
steps:
1513
- uses: actions/checkout@v4
16-
14+
1715
- name: Setup MSBuild
1816
uses: microsoft/setup-msbuild@v2
19-
20-
- name: Setup NuGet
21-
uses: nuget/setup-nuget@v1
22-
17+
2318
- name: Restore
2419
run: nuget restore WinUI3Crash.sln
25-
26-
- name: Build Release
27-
run: msbuild WinUI3Crash.sln /p:Configuration=Release /p:Platform=x64 /verbosity:detailed
28-
29-
- name: Check build artifacts
30-
run: |
31-
Get-ChildItem -Path "." -Filter "*.exe" -Recurse
32-
Get-ChildItem -Path "." -Filter "*.appx" -Recurse
33-
shell: pwsh
34-
35-
- name: Upload build logs on failure
36-
if: failure()
37-
uses: actions/upload-artifact@v3
38-
with:
39-
name: msbuild-logs
40-
path: |
41-
**/*.log
42-
**/bin/Release/**
20+
21+
- name: Build
22+
run: msbuild WinUI3Crash.sln /p:Configuration=Release

0 commit comments

Comments
 (0)