Skip to content

Commit

Permalink
Upload wheels to PyPI
Browse files Browse the repository at this point in the history
  • Loading branch information
rebeccafair committed Sep 8, 2021
1 parent aac9684 commit ae85195
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build_upload_pypi_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,16 +75,16 @@ jobs:
- name: Upload source dist to PyPI
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.6'
env:
TWINE_USERNAME: ${{ secrets.TEST_PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.TEST_PYPI_PASSWORD }}
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python -m twine upload --repository testpypi dist/*.tar.gz
python -m twine upload dist/*.tar.gz
shell: bash
- name: Upload wheel to PyPI
env:
TWINE_USERNAME: ${{ secrets.TEST_PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.TEST_PYPI_PASSWORD }}
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
WHEEL_NAME: ${{ matrix.wheelname }}
run: |
python -m twine upload --repository testpypi wheelhouse/*-${WHEEL_NAME}*.whl
python -m twine upload wheelhouse/*-${WHEEL_NAME}*.whl
shell: bash

0 comments on commit ae85195

Please sign in to comment.