Skip to content

Commit 094cf0f

Browse files
committed
Skip existing on pypi
1 parent 19674f6 commit 094cf0f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/publish-to-pypi.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,12 @@ jobs:
3333
password: ${{ secrets.PYPI_TEST_API_TOKEN }}
3434
repository_url: https://test.pypi.org/legacy/
3535
packages_dir: dist_manylinux/
36+
skip_existing: true
3637
# deploy to actual PyPI only when a tag is pushed to main
3738
- name: Publish distribution to PyPI
3839
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
3940
uses: pypa/gh-action-pypi-publish@master
4041
with:
4142
password: ${{ secrets.PYPI_API_TOKEN }}
4243
packages_dir: dist_manylinux/
44+
skip_existing: true

0 commit comments

Comments
 (0)