Skip to content

Commit 97d9bcc

Browse files
[CI] Update actions/upload-artifact to v4 (#684)
* 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.
1 parent 38922c0 commit 97d9bcc

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.github/workflows/build_doc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
uses: rickstaa/sphinx-action@master
3939
with:
4040
docs-folder: "docs/"
41-
- uses: actions/upload-artifact@v3
41+
- uses: actions/upload-artifact@v4
4242
with:
4343
name: Documentation
4444
path: docs/build/html/

.github/workflows/build_wheels.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ jobs:
3838
run: |
3939
python -m cibuildwheel --output-dir wheelhouse
4040
41-
- uses: actions/upload-artifact@v3
41+
- uses: actions/upload-artifact@v4
4242
with:
43-
name: wheels
43+
name: wheels-${{ strategy.job-index }}
4444
path: ./wheelhouse
4545

4646

@@ -81,8 +81,8 @@ jobs:
8181
run: |
8282
python -m cibuildwheel --output-dir wheelhouse
8383
84-
- uses: actions/upload-artifact@v3
84+
- uses: actions/upload-artifact@v4
8585
with:
86-
name: wheels
86+
name: wheels-${{ strategy.job-index }}
8787
path: ./wheelhouse
8888

.github/workflows/build_wheels_weekly.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
run: |
4646
python -m cibuildwheel --output-dir wheelhouse
4747
48-
- uses: actions/upload-artifact@v3
48+
- uses: actions/upload-artifact@v4
4949
with:
50-
name: wheels
50+
name: wheels-${{ strategy.job-index }}
5151
path: ./wheelhouse

0 commit comments

Comments
 (0)