Skip to content

Commit

Permalink
Merge branch 'master' into refactoring/mypy-issues-test-and-examples
Browse files Browse the repository at this point in the history
  • Loading branch information
dantp-ai committed Mar 20, 2024
2 parents a481e2f + 1a4d7de commit 5a68a9a
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@ jobs:
poetry config virtualenvs.in-project true --local
- name: Build and publish
env:
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_TOKEN }}
run: |
if [ -z "${PYPI_TOKEN}" ]; then echo "Set the PYPI_TOKEN variable in your repository secrets"; exit 1; fi
poetry config pypi-token.pypi $PYPI_TOKEN
poetry config repositories.pypi https://pypi.org/legacy
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
poetry publish --build

0 comments on commit 5a68a9a

Please sign in to comment.