Use env to send token to poetry

This commit is contained in:
Aaron Heise 2023-02-11 23:35:57 -06:00 committed by GitHub
parent 0e68af92f8
commit 3f4002c3a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -69,5 +69,7 @@ jobs:
- name: Publish to PyPI
run: poetry publish --build --username __token__ --password ${{ secrets.PYPI_API_TOKEN }}
env:
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_API_TOKEN }}
run: poetry publish