Skip to content

Commit 54dd655

Browse files
Upgrade version of upload and download artifact
V3 was deprecated in Nov 2024
1 parent 95f78e9 commit 54dd655

2 files changed

Lines changed: 8 additions & 5 deletions

File tree

.github/actions/install_requirements/action.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ runs:
3636
shell: bash
3737

3838
- name: Upload lockfiles
39-
uses: actions/upload-artifact@v3
39+
uses: actions/upload-artifact@v4
4040
with:
4141
name: lockfiles
4242
path: lockfiles
@@ -55,4 +55,3 @@ runs:
5555
fi
5656
fi
5757
shell: bash
58-

.github/workflows/code.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,9 @@ jobs:
8686
CIBW_SKIP: pp* *i686*
8787

8888
- name: Upload sdist and wheels as artifacts
89-
uses: actions/upload-artifact@v3
89+
uses: actions/upload-artifact@v4
9090
with:
91-
name: dist
91+
name: dist-${{ matrix.os }}-${{ matrix.python }}
9292
path: dist
9393

9494
- name: Check for packaging errors
@@ -104,7 +104,11 @@ jobs:
104104
HAS_PYPI_TOKEN: ${{ secrets.PYPI_TOKEN != '' }}
105105

106106
steps:
107-
- uses: actions/download-artifact@v3
107+
- uses: actions/download-artifact@v4
108+
with:
109+
pattern: dist*
110+
path: dist
111+
merge-multiple: true
108112

109113
- name: Fixup blank lockfiles
110114
# Github release artifacts can't be blank

0 commit comments

Comments
 (0)