Skip to content

Commit

Permalink
Update python-release-to-pypi.yml
Browse files Browse the repository at this point in the history
update pypi authentication
  • Loading branch information
ixje authored May 1, 2023
1 parent 255ca4f commit db7bf64
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/python-release-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@ jobs:
- if: github.event.inputs.pypi-target == 'Main'
name: Publish to PyPi
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: |
twine upload dist/*
- if: github.event.inputs.pypi-target == 'Test'
name: Publish to Test-PyPi
env:
TWINE_USERNAME: ${{ secrets.PYPI_TEST_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_TEST_PASSWORD }}
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_TEST_API_TOKEN }}
run: |
twine upload --repository testpypi dist/*

0 comments on commit db7bf64

Please sign in to comment.