Skip to content

Commit f074d98

Browse files
committed
CI: Fix release action for download-artifacts@v5 behavior
In v5 of the download-artifacts action, they made behavior more consistent with regards to the resulting path when downloading a single artifact. Unfortunately, this breaks our release action when it comes to assembling all built packages into a single directory. On the plus side, the current version of download-artifacts has the requisite config to allow us to configure the action to extract all artifacts into a single directory, ready for staging.
1 parent 266fc3b commit f074d98

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,10 @@ jobs:
4646
steps:
4747
- name: Download packages
4848
uses: actions/download-artifact@v8
49-
50-
- name: Consolidate packages for upload
51-
run: |
52-
mkdir dist
53-
cp packages-*/* dist/
49+
with:
50+
path: dist/
51+
pattern: packages-*
52+
merge-multiple: 'true'
5453

5554
- name: Publish Package
5655
uses: pypa/gh-action-pypi-publish@v1.14.0

0 commit comments

Comments
 (0)