Skip to content

Commit

Permalink
Update artifact actions
Browse files Browse the repository at this point in the history
- upload-artifact now requires unique name for each upload
- use pattern and merge-multiple options with download-artifact@v4 action to reproduce previous behaviour
  • Loading branch information
dependabot[bot] authored Jan 4, 2024
1 parent 13457eb commit a749996
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,10 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: "recursive"

- uses: pypa/[email protected]

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: wheels-${{ matrix.os }}
path: ./wheelhouse/*.whl

upload_pypi:
Expand All @@ -43,7 +42,8 @@ jobs:
steps:
- uses: actions/download-artifact@v4
with:
name: artifact
pattern: wheels-*
merge-multiple: true
path: dist

- uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit a749996

Please sign in to comment.