Skip to content

Commit

Permalink
[CI] Update actions/upload-artifact to v4
Browse files Browse the repository at this point in the history
* actions/upload-artifact v3 will be deprecated as of 2024-12-05 and will result
  in workflow failures afterwards.
* Use unique names to avoid overwrite.
  • Loading branch information
matthewfeickert committed Nov 6, 2024
1 parent 38922c0 commit 0f516dd
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
uses: rickstaa/sphinx-action@master
with:
docs-folder: "docs/"
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: Documentation
path: docs/build/html/
8 changes: 4 additions & 4 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ jobs:
run: |
python -m cibuildwheel --output-dir wheelhouse
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: wheels
name: wheels-${{ strategy.job-index }}
path: ./wheelhouse


Expand Down Expand Up @@ -81,8 +81,8 @@ jobs:
run: |
python -m cibuildwheel --output-dir wheelhouse
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: wheels
name: wheels-${{ strategy.job-index }}
path: ./wheelhouse

4 changes: 2 additions & 2 deletions .github/workflows/build_wheels_weekly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
run: |
python -m cibuildwheel --output-dir wheelhouse
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: wheels
name: wheels-${{ strategy.job-index }}
path: ./wheelhouse

0 comments on commit 0f516dd

Please sign in to comment.