Skip to content

Commit 24cb207

Browse files
committed
fix(Update release-publish.yml): Change TWINE_USERNAME and TWINE_PASSWORD to use token-based authentication
1 parent 655baba commit 24cb207

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ jobs:
2020
python -m pip install --upgrade setuptools wheel twine
2121
- name: Build and publish
2222
env:
23-
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
24-
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
23+
TWINE_USERNAME: __token__
24+
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
2525
run: |
2626
python setup.py sdist bdist_wheel
2727
twine upload dist/*

0 commit comments

Comments
 (0)