Skip to content

Commit fc0e5c5

Browse files
committed
Make PyPI publish idempotent with skip-existing
1 parent a1ce169 commit fc0e5c5

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/publish.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,7 @@ jobs:
4545

4646
- name: Publish to PyPI
4747
uses: pypa/gh-action-pypi-publish@release/v1
48+
with:
49+
# A re-run or a redundant manual dispatch would otherwise hard-fail
50+
# on an already-uploaded file; treat that as a no-op instead.
51+
skip-existing: true

0 commit comments

Comments
 (0)