File tree Expand file tree Collapse file tree 1 file changed +16
-7
lines changed Expand file tree Collapse file tree 1 file changed +16
-7
lines changed Original file line number Diff line number Diff line change 2323 - name : Install sdist
2424 run : pip install dist/*.tar.gz
2525
26- - uses : actions/upload-artifact@v3
26+ - uses : actions/upload-artifact@v4
2727 with :
28+ name : " sdist"
2829 path : dist/*.tar.gz
2930
3031 build_wheels :
4748 CIBW_TEST_SKIP : " *"
4849 CIBW_SKIP : " pp*"
4950
50- - uses : actions/upload-artifact@v3
51+ - uses : actions/upload-artifact@v4
5152 with :
53+ name : " ${{ matrix.os }}"
5254 path : ./wheelhouse/*.whl
55+ retention-days : 1
5356
5457 build_manylinux_wheels_ubuntu :
5558 name : Build manylinux wheels on ubuntu-latest
7275 CIBW_TEST_SKIP : " *"
7376 CIBW_SKIP : " pp* *-musllinux*"
7477
75- - uses : actions/upload-artifact@v3
78+ - uses : actions/upload-artifact@v4
7679 with :
80+ name : " manylinux"
7781 path : ./wheelhouse/*.whl
82+ retention-days : 1
7883
7984 build_musllinux_wheels_ubuntu :
8085 name : Build musllinux wheels on ubuntu-latest
@@ -112,9 +117,11 @@ jobs:
112117 CIBW_REPAIR_WHEEL_COMMAND : " auditwheel repair -w {dest_dir} {wheel} --exclude libdl.so.2 --exclude librt.so.1 --exclude libm.so.6 --exclude libpthread.so.0 --exclude libc.so.6"
113118
114119
115- - uses : actions/upload-artifact@v3
120+ - uses : actions/upload-artifact@v4
116121 with :
122+ name : " musllinux"
117123 path : ./wheelhouse/*.whl
124+ retention-days : 1
118125
119126
120127 upload_pypi :
@@ -125,10 +132,12 @@ jobs:
125132 permissions :
126133 id-token : write
127134 steps :
128- - uses : actions/download-artifact@v3
135+ - uses : actions/download-artifact@v4
129136 with :
130- name : artifact
131137 path : dist
138+ merge-multiple : true
132139
133140 - name : Publish package distributions to PyPI
134- uses : pypa/gh-action-pypi-publish@release/v1
141+ uses : pypa/gh-action-pypi-publish@release/v1
142+ with :
143+ skip-existing : true
You can’t perform that action at this time.
0 commit comments