Skip to content

Commit a3eaf08

Browse files
committed
github/workflows/publish: fix artifact upload
Make recommended changes to the artifact upload and download steps as suggested by https://github.com/actions/upload-artifact/blob/main/docs/MIGRATION.md
1 parent 6a5497b commit a3eaf08

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ jobs:
3737

3838
- uses: actions/upload-artifact@v4
3939
with:
40+
name: artifact-${{ matrix.os }}
4041
path: ./wheelhouse/*.whl
4142

4243
build_sdist:
@@ -52,6 +53,7 @@ jobs:
5253

5354
- uses: actions/upload-artifact@v4
5455
with:
56+
name: artifact-source
5557
path: dist/*.tar.gz
5658

5759
upload_pypi:
@@ -62,7 +64,8 @@ jobs:
6264
steps:
6365
- uses: actions/download-artifact@v4
6466
with:
65-
name: artifact
67+
pattern: artifact-*
68+
merge-multiple: true
6669
path: dist
6770

6871
- uses: pypa/[email protected]

0 commit comments

Comments
 (0)