Skip to content

Commit 75fbf40

Browse files
committed
Assign unique artifact name to each GitHub Actions job
[actions/upload-artifact@v4](https://github.com/actions/upload-artifact) no longer supports multiple artifacts with the same name.
1 parent 1c88af8 commit 75fbf40

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/cibuildwheel.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ jobs:
2222

2323
- uses: actions/upload-artifact@v4
2424
with:
25+
name: source
2526
path: dist/*
2627

2728
wheels:
@@ -60,6 +61,7 @@ jobs:
6061

6162
- uses: actions/upload-artifact@v4
6263
with:
64+
name: ${{ matrix.os }}
6365
path: wheelhouse/*
6466

6567
publish:
@@ -72,6 +74,6 @@ jobs:
7274
steps:
7375
- uses: actions/download-artifact@v4
7476
with:
75-
name: artifact
77+
merge-multiple: true
7678
path: dist
7779
- uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)