5959 python -m cibuildwheel --output-dir wheelhouse
6060
6161 - name : Upload wheels
62- uses : actions/upload-artifact@v3
62+ uses : actions/upload-artifact@v4
6363 with :
64- name : regex-files
64+ name : regex-files-wheels-${{ matrix.runs-on }}
6565 path : wheelhouse/*.whl
6666
6767 # I cannot get this to work!
@@ -111,15 +111,15 @@ jobs:
111111 python -m cibuildwheel --output-dir wheelhouse
112112
113113 - name : Upload source distribution
114- uses : actions/upload-artifact@v3
114+ uses : actions/upload-artifact@v4
115115 with :
116- name : regex-files
116+ name : regex-files-dist-${{ matrix.runs-on }}
117117 path : dist/*.tar.gz
118118
119119 - name : Upload manylinux1_x86_64 wheels
120- uses : actions/upload-artifact@v3
120+ uses : actions/upload-artifact@v4
121121 with :
122- name : regex-files
122+ name : regex-files-manylinux2010-${{ matrix.runs-on }}
123123 path : wheelhouse/*.whl
124124
125125 # Build and upload aarch64/ppc64le/s390x wheels.
@@ -153,9 +153,9 @@ jobs:
153153 python -m cibuildwheel --output-dir wheelhouse
154154
155155 - name : Upload ${{ matrix.arch }} wheels
156- uses : actions/upload-artifact@v3
156+ uses : actions/upload-artifact@v4
157157 with :
158- name : regex-files
158+ name : regex-files-arch-${{ matrix.runs-on }}
159159 path : wheelhouse/*.whl
160160
161161 # Upload to PyPI
@@ -165,10 +165,11 @@ jobs:
165165 runs-on : ubuntu-latest
166166
167167 steps :
168- - uses : actions/download-artifact@v3
168+ - uses : actions/download-artifact@v4
169169 with :
170- name : regex-files
170+ pattern : regex-files-*
171171 path : dist
172+ merge-multiple : true
172173
173174 - name : Upload to PyPI
174175 uses : pypa/gh-action-pypi-publish@release/v1
0 commit comments