CI: fix artifact handling
This commit is contained in:
parent
9b5474e794
commit
18e50cd6a6
1 changed files with 4 additions and 1 deletions
5
.github/workflows/publish-twine.yaml
vendored
5
.github/workflows/publish-twine.yaml
vendored
|
|
@ -30,6 +30,7 @@ jobs:
|
|||
CIBW_BUILD: "cp39-* cp310-* cp311-* cp312-* cp313-*"
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: wheels-${{ matrix.os }}
|
||||
path: dist/*.whl
|
||||
|
||||
build_sdist:
|
||||
|
|
@ -51,6 +52,7 @@ jobs:
|
|||
python setup.py sdist
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: wheels-source
|
||||
path: dist/*
|
||||
|
||||
publish:
|
||||
|
|
@ -60,8 +62,9 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: artifact
|
||||
path: dist
|
||||
merge-multiple: true
|
||||
pattern: wheels*
|
||||
- name: Publish to PyPI
|
||||
uses: pypa/gh-action-pypi-publish@master
|
||||
with:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue