Skip to content

Commit ce4712d

Browse files
authored
using pypi api token instead of username and password
1 parent 0b70059 commit ce4712d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/python-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ jobs:
2626
pip install setuptools wheel twine
2727
- name: Build and publish
2828
env:
29-
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
30-
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
29+
TWINE_USERNAME: __token__
30+
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
3131
run: |
3232
python setup.py sdist bdist_wheel
3333
twine upload dist/*

0 commit comments

Comments
 (0)