Skip to content

Commit

Permalink
[GitHub Actions] Tweak debug symbol upload
Browse files Browse the repository at this point in the history
  • Loading branch information
past-due committed Jun 11, 2024
1 parent cb08d46 commit 73e1603
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 18 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/CI_flatpak.yml
Original file line number Diff line number Diff line change
Expand Up @@ -298,13 +298,7 @@ jobs:
path: '${{ steps.repo-tar.outputs.REPO_TAR_FILE }}'

upload-debug-symbols:
strategy:
matrix:
include:
- arch: "x86_64"
- arch: "arm64"
fail-fast: false
name: 'Upload Debug Symbols (${{ matrix.arch }})'
name: 'Upload Debug Symbols'
permissions:
contents: read
runs-on: ubuntu-latest
Expand All @@ -327,13 +321,15 @@ jobs:
- name: Download Debug Symbols
uses: actions/download-artifact@v4
with:
name: 'debugsymbols_linux_flatpak_${{ matrix.arch }}'
pattern: 'debugsymbols_linux_flatpak_*'
path: ./dl-debug/symbols
merge-multiple: false
- name: Download Additional Debug Files
uses: actions/download-artifact@v4
with:
name: 'debugdependencylibsnapshot_linux_flatpak_${{ matrix.arch }}'
pattern: 'debugdependencylibsnapshot_linux_flatpak_*'
path: ./dl-debug/additional
merge-multiple: false
- name: Display structure of downloaded files
run: ls -R
working-directory: ./dl-debug
Expand Down
12 changes: 3 additions & 9 deletions .github/workflows/CI_ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -310,14 +310,7 @@ jobs:
WZ_GITHUB_REF: ${{ steps.checkout-config.outputs.WZ_GITHUB_REF }}

upload-debug-symbols:
strategy:
matrix:
include:
- output-suffix: "ubuntu20.04"
arch: "amd64"
- output-suffix: "ubuntu22.04"
arch: "amd64"
name: 'Upload Debug Symbols (${{ matrix.matrix }})'
name: 'Upload Debug Symbols'
permissions:
contents: read
runs-on: ubuntu-latest
Expand All @@ -339,8 +332,9 @@ jobs:
- name: Download Artifacts
uses: actions/download-artifact@v4
with:
name: 'debugsymbols_${{ matrix.output-suffix }}_${{ matrix.arch }}'
pattern: 'debugsymbols_*'
path: ./dl-debug-symbols
merge-multiple: false
- name: Display structure of downloaded files
run: ls -R
working-directory: ./dl-debug-symbols
Expand Down

0 comments on commit 73e1603

Please sign in to comment.