Skip to content

Commit d58d955

Browse files
committed
Merge multiple in download artifact
fix: flatten downloaded artifacts to resolve directory upload error GitHub Actions downloads artifacts into directories named after the artifact. This caused the release workflow to try uploading directories instead of files, resulting in 'is a directory' errors. The fix flattens the artifacts by moving files from their directories to the root before release creation.
1 parent 4931510 commit d58d955

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,9 @@ jobs:
143143
fetch-depth: 0
144144
- name: Download artifacts
145145
uses: actions/download-artifact@v4
146+
with:
147+
pattern: bera-reth-*
148+
merge-multiple: true
146149
- name: Generate full changelog
147150
id: changelog
148151
run: |

0 commit comments

Comments
 (0)