diff --git a/.github/workflows/cibuildwheel.yml b/.github/workflows/cibuildwheel.yml index fab71d9..ed15574 100644 --- a/.github/workflows/cibuildwheel.yml +++ b/.github/workflows/cibuildwheel.yml @@ -47,9 +47,9 @@ jobs: python -c "import gsw; print(f'gsw v{gsw.__version__}')" && python -m pytest --pyargs gsw - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: - name: pypi-artifacts + name: pypi-artifacts-${{ matrix.os }}-${{ matrix.cibw_archs }} path: ${{ github.workspace }}/wheelhouse/*.whl @@ -58,10 +58,11 @@ jobs: name: "Show artifacts" runs-on: ubuntu-latest steps: - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: - name: pypi-artifacts + pattern: python-artifacts* path: ${{ github.workspace }}/dist + merge-multiple: true - shell: bash run: | @@ -75,7 +76,7 @@ jobs: # upload to PyPI for every tag starting with 'v' if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v') steps: - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: pypi-artifacts path: ${{ github.workspace }}/dist