Skip to content

Commit f2903a8

Browse files
committed
rename pypi token field
1 parent 6a7cf6b commit f2903a8

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/python-publish.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
# This workflows will upload a Python Package using flit when a release is created
2-
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
1+
# This workflow will upload a Python Package using flit when a release is
2+
# created. For more information see:
3+
# https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
34

45
name: Upload Python Package
56

@@ -27,7 +28,7 @@ jobs:
2728
TWINE_USERNAME: __token__
2829
# The PYPI_PASSWORD must be a pypi token with the "pypi-" prefix with sufficient permissions to upload this package
2930
# https://pypi.org/help/#apitoken
30-
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
31+
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
3132
run: |
3233
python setup.py sdist bdist_wheel
3334
twine upload dist/*

0 commit comments

Comments
 (0)