Skip to content

Commit 50d2c74

Browse files
committed
Download artifacts to publish to PyPI
1 parent 99ba8fd commit 50d2c74

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/wheels.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,5 +213,19 @@ jobs:
213213
permissions:
214214
id-token: write
215215
steps:
216+
- uses: actions/download-artifact@v4
217+
- name: Merge artifacts
218+
run: |
219+
for artifact in macOS_x86_64 \
220+
macOS_arm64 \
221+
manylinux2014_musllinux \
222+
manylinux_2_28 \
223+
windows_x86 \
224+
windows_x64 \
225+
windows_arm64 \
226+
sdist; do
227+
mv $artifact/* .
228+
rmdir $artifact
229+
done
216230
- name: Publish to PyPI
217231
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)