Skip to content

Commit

Permalink
Bump upload-artifact@v3 to v4 in cibuildwheel.yml and build_wheels.ym…
Browse files Browse the repository at this point in the history
…l since v3 is deprecated
  • Loading branch information
patrikhuber authored Feb 2, 2025
1 parent ef05542 commit ce98420
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
run: |
python setup.py bdist_wheel
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.os }}-python${{ matrix.python-version }}-whl
path: dist/*.whl
Expand All @@ -58,7 +58,7 @@ jobs:
run: |
python setup.py sdist
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Source distribution (sdist)
path: dist/*.*
6 changes: 3 additions & 3 deletions .github/workflows/cibuildwheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
python setup.py sdist
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
path: dist/*.*

Expand Down Expand Up @@ -65,7 +65,7 @@ jobs:
CIBW_TEST_COMMAND: pytest {package}/tests
CIBW_TEST_SKIP: "*-macosx_arm64 *-macosx_universal2:arm64"

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
path: ./wheelhouse/*.whl

Expand All @@ -77,7 +77,7 @@ jobs:
runs-on: ubuntu-latest
if: github.event_name == 'release' && github.event.action == 'published'
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: artifact
path: dist
Expand Down

0 comments on commit ce98420

Please sign in to comment.