Skip to content

Commit

Permalink
skip existing when uploading to Test PyPI only
Browse files Browse the repository at this point in the history
  • Loading branch information
p-j-smith committed Nov 29, 2023
1 parent 77d318a commit 38f1d81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ jobs:
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
repository-url: https://test.pypi.org/legacy/
packages-dir: ./
skip-existing: true

release:
name: Pulish to PyPI if upload to Test PyPI was successful
Expand All @@ -129,4 +130,3 @@ jobs:
MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
with:
command: upload
args: --skip-existing *

0 comments on commit 38f1d81

Please sign in to comment.