Skip to content

Commit

Permalink
Update python-publish.yml
Browse files Browse the repository at this point in the history
Shifted to token-based authentication for publishing package to PyPI.
  • Loading branch information
rahul4732saini authored Apr 28, 2024
1 parent 1f55831 commit f90804e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ jobs:
pip install setuptools wheel twine
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: |
python setup.py sdist bdist_wheel
twine upload dist/*

0 comments on commit f90804e

Please # to comment.