Skip to content

Commit

Permalink
Add skip-existing option to publish
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviagyg committed Dec 6, 2023
1 parent d657a04 commit 0ca0a87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ jobs:
poetry config virtualenvs.create false
poetry build
# basemath is already present as a package (as in math with bases), so use a slightly different name
poetry publish -u "__token__" --password "$PYPI_TOKEN"
poetry publish --skip-existing -u "__token__" --password "$PYPI_TOKEN"
env:
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}

0 comments on commit 0ca0a87

Please sign in to comment.