Skip to content

Commit b049d40

Browse files
committed
Collect Windows startup log inside artifact root
1 parent 74ef6fe commit b049d40

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

‎.github/workflows/windows-msix.yml‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,13 @@ jobs:
3333
- name: Build MSIX (includes MEDHA.exe --selftest with bundled GCC)
3434
shell: pwsh
3535
run: packaging\windows\build_msix.ps1
36+
- name: Collect startup log
37+
if: always()
38+
shell: pwsh
39+
run: |
40+
New-Item -ItemType Directory -Force dist | Out-Null
41+
$log = Join-Path $env:LOCALAPPDATA "MEDHA\startup.log"
42+
if (Test-Path $log) { Copy-Item $log dist/startup.log }
3643
- uses: actions/upload-artifact@v4
3744
if: always()
3845
with:
@@ -41,7 +48,7 @@ jobs:
4148
dist/*.msix
4249
dist/*.zip
4350
dist/gui-smoke.*
44-
~/AppData/Local/MEDHA/startup.log
51+
dist/startup.log
4552
toolchains/MANIFEST.json
4653
# The Store upload is done from Partner Center; a public Release asset gives the
4754
# browser a direct URL to the exact file CI built and tested.

0 commit comments

Comments
 (0)