Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrading to upload/download-artifact v4 #353

Merged
merged 2 commits into from
Dec 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.os }}-${{ matrix.arch }}-${{ matrix.p_ver }}
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
Loading