Skip to content

Commit 941a81a

Browse files
committed
ci: Twine upload should skip existing.
1 parent b2a0980 commit 941a81a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/pypi-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
run: |
2727
source .venv/bin/activate && python -m build
2828
twine check dist/*
29-
twine upload dist/*
29+
twine upload --skip-existing dist/*
3030
env:
3131
TWINE_USERNAME: __token__
3232
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}

cspell.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@
6868
"pylint",
6969
"pypa",
7070
"pypackages",
71+
"PYPI",
7172
"pypirc",
7273
"pyproject",
7374
"pytest",

0 commit comments

Comments
 (0)