@@ -24,10 +24,12 @@ jobs:
2424 - name : Install sdist
2525 run : pip install dist/*.tar.gz
2626
27- - uses : actions/upload-artifact@v3
27+ - uses : actions/upload-artifact@v4
2828 with :
29+ name : " sdist"
2930 path : dist/*.tar.gz
30-
31+ retention-days : 1
32+
3133 build_wheels :
3234 name : Build wheels on ${{ matrix.os }}
3335 runs-on : ${{ matrix.os }}
4749 env :
4850 CIBW_TEST_SKIP : " *"
4951
50- - uses : actions/upload-artifact@v3
52+ - uses : actions/upload-artifact@v4
5153 with :
54+ name : " ${{ matrix.os }}"
5255 path : ./wheelhouse/*.whl
56+ retention-days : 1
5357
5458 build_wheels_ubuntu_manylinux :
5559 name : Build x86 manylinux wheels on ubuntu-latest
6872 CIBW_SKIP : " *aarch64 *ppc64le *s390x *armv7l *-musllinux*"
6973 CIBW_TEST_SKIP : " *"
7074
71- - uses : actions/upload-artifact@v3
75+ - uses : actions/upload-artifact@v4
7276 with :
77+ name : " wheels_manylinux"
7378 path : ./wheelhouse/*.whl
79+ retention-days : 1
7480
7581 build_wheels_ubuntu_musllinux :
7682 name : Build x86 musllinux wheels on ubuntu-latest
8894 CIBW_SKIP : " *aarch64 *ppc64le *s390x *armv7l *-manylinux*"
8995 CIBW_TEST_SKIP : " *"
9096
91- - uses : actions/upload-artifact@v3
97+ - uses : actions/upload-artifact@v4
9298 with :
99+ name : " wheels_musllinux"
93100 path : ./wheelhouse/*.whl
101+ retention-days : 1
94102
95103 build_wheels_qemu :
96104 name : Build wheels qemu on ubuntu-latest
@@ -113,9 +121,11 @@ jobs:
113121 CIBW_SKIP : " *x86_64 *i686"
114122 CIBW_TEST_SKIP : " *"
115123
116- - uses : actions/upload-artifact@v3
124+ - uses : actions/upload-artifact@v4
117125 with :
126+ name : " wheels_qemu"
118127 path : ./wheelhouse/*.whl
128+ retention-days : 1
119129
120130
121131 upload_pypi :
@@ -126,10 +136,10 @@ jobs:
126136 permissions :
127137 id-token : write
128138 steps :
129- - uses : actions/download-artifact@v3
139+ - uses : actions/download-artifact@v4
130140 with :
131- name : artifact
132141 path : dist
142+ merge-multiple : true
133143
134144 - name : Publish package distributions to PyPI
135145 uses : pypa/gh-action-pypi-publish@release/v1
0 commit comments