Skip to content

Commit

Permalink
Add skip existing
Browse files Browse the repository at this point in the history
  • Loading branch information
rhpvorderman committed Dec 22, 2021
1 parent 478b651 commit 5aaa4c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ jobs:
# pypa/gh-action-pypi-publish@master does not work on OSX
# Alpha, Beta and dev releases contain a - in the tag.
if: contains(github.ref, '-') && startsWith(github.ref, 'refs/tags')
run: twine upload --repository-url https://test.pypi.org/legacy/ dist/*
run: twine upload --skip-existing --repository-url https://test.pypi.org/legacy/ dist/*
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.TEST_PYPI_API_TOKEN }}
Expand Down

0 comments on commit 5aaa4c6

Please sign in to comment.