Skip to content

Commit

Permalink
actions: testpypi → pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
taiya authored Aug 25, 2021
1 parent 5707171 commit 538c9d0
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,12 @@ jobs:
- name: executing setup w/ a particular tag
env:
TWINE_USERNAME: ${{ secrets.TEST_PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.TEST_PYPI_PASSWORD }}
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
# NOTE: for use with `twine upload --repository testpypi dist/*`
# TWINE_USERNAME: ${{ secrets.TEST_PYPI_USERNAME }}
# TWINE_PASSWORD: ${{ secrets.TEST_PYPI_PASSWORD }}
run: |
python3 setup.py sdist bdist_wheel --tag=${{ steps.get_version.outputs.VERSION }}
twine check dist/*
twine upload --repository testpypi dist/*
twine upload dist/*

0 comments on commit 538c9d0

Please sign in to comment.