Skip to content

Commit 7536a6e

Browse files
committed
ci: fixes for {upload,download}-artifact v4
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
1 parent 9e1b25f commit 7536a6e

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/release.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ jobs:
9797
9898
- uses: actions/upload-artifact@v4
9999
with:
100-
name: Build
100+
name: Build_${{ matrix.thread }}
101101
path: Build_${{ matrix.thread }}.zip
102102

103103
upload:
@@ -110,10 +110,14 @@ jobs:
110110

111111
- uses: actions/download-artifact@v4
112112
with:
113+
merge-multiple: true
113114
path: artifacts/
115+
pattern: Build_*
114116

115117
- name: Unpack
116-
run: unzip -d build "artifacts/Build/*.zip"
118+
run: |
119+
ls --recursive artifacts
120+
unzip -d build "artifacts/*.zip"
117121
118122
- name: Prepare debug info
119123
run: |

0 commit comments

Comments
 (0)