Skip to content

Commit cffed64

Browse files
committed
upgrade ga upload-artifact@v4 download-artifact@v4
1 parent e8c3200 commit cffed64

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/wheels.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,9 @@ jobs:
2323
- name: Check metadata
2424
run: pipx run twine check dist/*
2525

26-
- uses: actions/upload-artifact@v3
26+
- uses: actions/upload-artifact@v4
2727
with:
28+
name: artifact-sdist
2829
path: dist/*.tar.gz
2930

3031
build_wheels:
@@ -130,8 +131,9 @@ jobs:
130131
shell: bash
131132

132133
- name: Upload wheels
133-
uses: actions/upload-artifact@v3
134+
uses: actions/upload-artifact@v4
134135
with:
136+
name: artifact-${{ matrix.python }}-${{ matrix.platform_id }}
135137
path: wheelhouse/*.whl
136138

137139
upload_all:
@@ -145,10 +147,11 @@ jobs:
145147
with:
146148
python-version: "3.x"
147149

148-
- uses: actions/download-artifact@v3
150+
- uses: actions/download-artifact@v4
149151
with:
150-
name: artifact
152+
pattern: artifact-*
151153
path: dist
154+
merge-multiple: true
152155

153156
- uses: pypa/gh-action-pypi-publish@v1.5.1
154157
with:

0 commit comments

Comments
 (0)