Skip to content

Commit deb0782

Browse files
committed
Use PyPI API token instead of username and password
1 parent edb8b78 commit deb0782

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ jobs:
88
name: Publish release
99
runs-on: ubuntu-20.04
1010
env:
11-
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
12-
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
11+
TWINE_USERNAME: __token__
12+
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
1313
steps:
1414
- name: Checkout the repository
1515
uses: actions/checkout@v2

0 commit comments

Comments
 (0)