Skip to content

Commit

Permalink
fix upload-download artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
ocefpaf committed Jan 9, 2024
1 parent 5a237ec commit 54f0e86
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/cibuildwheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand All @@ -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: |
Expand All @@ -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
Expand Down

0 comments on commit 54f0e86

Please sign in to comment.