Skip to content

Commit c0531d5

Browse files
committed
aggregate all wheel zips
1 parent f3aa60c commit c0531d5

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/wheel.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,24 @@ jobs:
4747
name: wheels-${{ matrix.os }}
4848
path: wheelhouse
4949

50+
# combine all wheels into one artifact
51+
combine_wheels:
52+
needs: [build_wheels]
53+
runs-on: ubuntu-latest
54+
steps:
55+
- uses: actions/download-artifact@v4
56+
with:
57+
# unpacks all CIBW artifacts into dist/
58+
pattern: wheels-*
59+
path: dist
60+
merge-multiple: true
61+
62+
- name: Upload Wheels to artifact
63+
uses: actions/upload-artifact@v4
64+
with:
65+
name: wheels-all
66+
path: dist
67+
5068
# https://github.com/pypa/cibuildwheel/blob/main/examples/github-deploy.yml
5169
upload_pypi:
5270
needs: [build_wheels]

0 commit comments

Comments
 (0)