Skip to content

Commit 0426c62

Browse files
skip existing package on twine upload (#5)
1 parent 36bdb32 commit 0426c62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build_deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383
run: |
8484
echo ${GITHUB_REF}
8585
[[ ${GITHUB_REF} == "refs/heads/main" ]] && PYPI_REPOSITORY="--repository testpypi"
86-
twine upload ${PYPI_REPOSITORY} dist/*
86+
twine upload --skip-existing ${PYPI_REPOSITORY} dist/*
8787
env:
8888
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
8989
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}

0 commit comments

Comments
 (0)