Skip to content

Commit 5b92c0d

Browse files
committed
feat(ci): update PyPI publish step to configure token and skip existing packages
1 parent a67dc49 commit 5b92c0d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,9 @@ jobs:
135135
- name: Publish to PyPI
136136
env:
137137
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_API_TOKEN }}
138-
run: poetry publish
138+
run: |
139+
poetry config pypi-token.pypi $POETRY_PYPI_TOKEN_PYPI
140+
poetry publish --skip-existing
139141
140142
docs:
141143
name: Build Documentation

0 commit comments

Comments
 (0)