Skip to content

Commit 0cff36c

Browse files
committed
✏️ fix api token issue
1 parent 2bb7602 commit 0cff36c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Diff for: .github/workflows/python-publish.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,10 @@ jobs:
3030
- name: Build the package
3131
run: poetry build
3232

33+
- name: Configure Poetry for PyPI
34+
run: |
35+
poetry config pypi-token.pypi ${{ secrets.TWINE_API_TOKEN }}
36+
3337
- name: Publish to PyPI
34-
env:
35-
TWINE_API_TOKEN: ${{ secrets.PYPI_TOKEN }}
3638
run: |
37-
poetry config pypi-token.pypi $TWINE_API_TOKEN
3839
poetry publish --no-interaction --no-ansi

0 commit comments

Comments
 (0)