diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index c17330d93..6e5f6fc69 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -32,8 +32,9 @@ jobs: - name: Build source distribution and pure-python wheel run: | python setup.py sdist bdist_wheel - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: + name: pure path: | dist/*.whl dist/*.tar.gz @@ -70,8 +71,9 @@ jobs: env: CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014 CIBW_ARCHS: ${{ matrix.arch }} - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: + name: wheels path: wheelhouse/*.whl build_arch_wheels: @@ -96,8 +98,9 @@ jobs: env: CIBW_BUILD: cp${{ matrix.python }}-* CIBW_ARCHS: ${{ matrix.arch }} - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: + name: aarch64-wheels path: wheelhouse/*.whl deploy: @@ -110,9 +113,10 @@ jobs: # only run if the commit is tagged... if: startsWith(github.ref, 'refs/tags/') steps: - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: - name: artifact + # so that all artifacts are downloaded in the same directory specified by 'path' + merge-multiple: true path: dist - uses: pypa/gh-action-pypi-publish@v1.8.11 with: