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

Bump actions/download-artifact from 3 to 4 #1374

Merged
merged 2 commits into from
Feb 17, 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
30 changes: 26 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,9 @@ jobs:
twine check --strict dist/*

- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: sdist
path: ./dist/*.tar.gz
retention-days: 5

Expand Down Expand Up @@ -149,8 +150,9 @@ jobs:
python -m pytest test -v -s

- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: wheels-${{ matrix.os }}-${{ matrix.arch }}
path: ./wheelhouse/*.whl
retention-days: 5

Expand All @@ -161,9 +163,29 @@ jobs:
# release on every tag
if: github.event_name == 'release' && startsWith(github.ref, 'refs/tags/')
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: artifact
name: sdist
path: dist
- uses: actions/download-artifact@v4
with:
name: wheels-ubuntu-22.04-x86_64
path: dist
- uses: actions/download-artifact@v4
with:
name: wheels-macos-11-x86_64
path: dist
- uses: actions/download-artifact@v4
with:
name: wheels-macos-14-arm64
path: dist
- uses: actions/download-artifact@v4
with:
name: wheels-windows-2022-auto64
path: dist
- uses: actions/download-artifact@v4
with:
name: wheels-windows-2022-auto32
path: dist

- name: Upload Wheels to PyPI
Expand Down
Loading