Skip to content

Commit

Permalink
Update wheels.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rjanvier authored Feb 7, 2024
1 parent 2c15f0c commit cada007
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ jobs:
- name: Build wheels
run: python -m cibuildwheel --output-dir wheelhouse

- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v3
with:
name: wheels-${{ matrix.os }}
name: wheels
path: ./wheelhouse/*.whl

publish:
Expand All @@ -44,9 +44,9 @@ jobs:

- uses: actions/setup-python@v5

- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v3
with:
name: wheels-download
name: wheels
path: wheelhouse

- name: Publish to PyPI
Expand All @@ -55,7 +55,8 @@ jobs:
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
# construct the source package and upload src and wheels to PiPy
run: |
python -m pip install twine
python setup.py sdist
python -m pip install --upgrade pip
python -m pip install twine build
python -m build --sdist
twine upload dist/*
twine upload wheelhouse/*.whl

0 comments on commit cada007

Please sign in to comment.