Skip to content

Commit

Permalink
ci: fixes for {upload,download}-artifact v4
Browse files Browse the repository at this point in the history
ref.
https://github.com/actions/download-artifact/blob/main/docs/MIGRATION.md
https://github.com/actions/upload-artifact/blob/main/docs/MIGRATION.md

uploaded .zip from build jobs now have unique names
no need for {name}/ anymore when downloading
  • Loading branch information
mcspr committed Jun 15, 2024
1 parent 9e1b25f commit 7536a6e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ jobs:
- uses: actions/upload-artifact@v4
with:
name: Build
name: Build_${{ matrix.thread }}
path: Build_${{ matrix.thread }}.zip

upload:
Expand All @@ -110,10 +110,14 @@ jobs:

- uses: actions/download-artifact@v4
with:
merge-multiple: true
path: artifacts/
pattern: Build_*

- name: Unpack
run: unzip -d build "artifacts/Build/*.zip"
run: |
ls --recursive artifacts
unzip -d build "artifacts/*.zip"
- name: Prepare debug info
run: |
Expand Down

0 comments on commit 7536a6e

Please sign in to comment.