Skip to content

Commit 6b65996

Browse files
authored
Fix artifact upload
1 parent f85a4dd commit 6b65996

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/buildwheels.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- uses: actions/upload-artifact@v4
3232
with:
3333
path: dist/*.tar.gz
34-
overwrite: true
34+
name: cibw-sdist
3535

3636
build_wheels:
3737
name: Build wheels on ${{ matrix.os }}
@@ -62,17 +62,17 @@ jobs:
6262
- uses: actions/upload-artifact@v4
6363
with:
6464
path: ./wheelhouse/*.whl
65+
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
6566

6667
upload_pypi:
6768
needs: [build_wheels, build_sdist]
6869
runs-on: ubuntu-latest
6970
steps:
7071
- uses: actions/download-artifact@v4
7172
with:
72-
# unpacks default artifact into dist/
73-
# if `name: artifact` is omitted, the action will create extra parent dir
74-
name: artifact
73+
pattern: cibw-*
7574
path: dist
75+
merge-multiple: true
7676

7777
- uses: pypa/gh-action-pypi-publish@v1.5.0
7878
# Deploy releases to pypi.

0 commit comments

Comments
 (0)