We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e3661c1 commit 55e9beeCopy full SHA for 55e9bee
1 file changed
.github/workflows/publish.yaml
@@ -22,9 +22,7 @@ jobs:
22
poetry config virtualenvs.in-project true --local
23
- name: Build and publish
24
env:
25
- PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
+ POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_TOKEN }}
26
run: |
27
- if [ -z "${PYPI_TOKEN}" ]; then echo "Set the PYPI_TOKEN variable in your repository secrets"; exit 1; fi
28
- poetry config pypi-token.pypi $PYPI_TOKEN
29
- poetry config repositories.pypi https://pypi.org/legacy/
30
- poetry publish --build --repository pypi
+ if [ -z "${POETRY_PYPI_TOKEN_PYPI}" ]; then echo "Set the PYPI_TOKEN variable in your repository secrets"; exit 1; fi
+ run: poetry publish
0 commit comments