Skip to content
This repository was archived by the owner on Dec 6, 2025. It is now read-only.

Commit b3d33b8

Browse files
F0besSternXD
authored andcommitted
CI: Flatten symbols for upload-artifact
1 parent 651e159 commit b3d33b8

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/windows_build_qt.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -172,19 +172,22 @@ jobs:
172172
with:
173173
crate: dump_syms
174174

175-
- name: Generate Breakpad Symbols
175+
- name: Generate Breakpad Symbols # Also flatten pdbs to a 'symbols' directory for upload-artifact
176176
shell: pwsh
177177
run: |
178+
mkdir -Force symbols
178179
Get-ChildItem -Path ./bin -Recurse -File | Where-Object {
179180
($_.Extension -eq ".exe" -or $_.Extension -eq ".pdb") -and ($_.Name -notmatch "updater")
180181
} | ForEach-Object {
181-
& dump_syms $_.FullName >> pcsx2-qt.bpsym
182+
& dump_syms $_.FullName >> symbols/pcsx2-qt.bpsym
183+
}
184+
Get-ChildItem -Path ./bin -Recurse -Filter "*.pdb" | ForEach-Object {
185+
Copy-Item $_.FullName -Destination symbols/
182186
}
183187
184188
- name: Upload artifact - with symbols
185189
uses: actions/upload-artifact@v4
186190
with:
187191
name: ${{ steps.artifact-metadata.outputs.artifact-name }}-symbols
188192
path: |
189-
./bin/**/*.pdb
190-
pcsx2-qt.bpsym
193+
./symbols

0 commit comments

Comments
 (0)