Skip to content

Commit

Permalink
Upgrading to upload/download-artifact v4
Browse files Browse the repository at this point in the history
  • Loading branch information
FrancescAlted committed Dec 16, 2024
1 parent 2212c92 commit e429425
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/cibuildwheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,9 @@ jobs:
uses: pypa/[email protected]

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


Expand Down Expand Up @@ -99,6 +100,7 @@ jobs:
- name: Upload sdist package
uses: actions/upload-artifact@v4
with:
name: wheels-source
path: dist/*.tar.gz

- name: Build building extension from sdist package
Expand All @@ -120,10 +122,10 @@ jobs:
# Only upload wheels when tagging (typically a release)
if: startsWith(github.event.ref, 'refs/tags')
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: artifact
path: dist
pattern: wheels-* # Download the wheels artifact
merge-multiple: true # Merge all the wheels artifacts into one directory

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

0 comments on commit e429425

Please sign in to comment.