github-workflow: fix mixed up upload/download source vs. binary wheel artifacts

This commit is contained in:
Mario Fink 2021-09-22 13:23:42 +02:00
parent c2a28fc333
commit ba275dd62a

View File

@ -44,11 +44,11 @@ jobs:
working-directory: python/ working-directory: python/
# env: # env:
# CIBW_BUILD: cp36-* cp37-* cp38-* cp39-* cp310-* # CIBW_BUILD: cp36-* cp37-* cp38-* cp39-* cp310-*
- name: Store source wheels - name: Store binary wheels
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
name: source-wheels name: binary-wheels
path: dist/*.tar.gz path: wheelhouse/*.whl
build_sdist: build_sdist:
name: Build source distribution name: Build source distribution
@ -66,11 +66,11 @@ jobs:
- name: Build sdist - name: Build sdist
run: python setup.py sdist run: python setup.py sdist
working-directory: python/ working-directory: python/
- name: Store binary wheels - name: Store source wheels
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
name: binary-wheels name: source-wheels
path: wheelhouse/*.whl path: dist/*.tar.gz
upload_pypi: upload_pypi:
name: Upload binary wheels to PyPI name: Upload binary wheels to PyPI