Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2f2b749

Browse files
committed
Skip existing uploads
1 parentc8b47e2 commit2f2b749

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎.github/workflows/ci.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,13 +264,13 @@ jobs:
264264
# pypa/gh-action-pypi-publish@master does not work on OSX
265265
# Alpha, Beta and dev releases contain a - in the tag.
266266
if:contains(github.ref, '-') && startsWith(github.ref, 'refs/tags')
267-
run:twine upload --repository-url https://test.pypi.org/legacy/ dist/*
267+
run:twine upload --skip-existing --repository-url https://test.pypi.org/legacy/ dist/*
268268
env:
269269
TWINE_USERNAME:__token__
270270
TWINE_PASSWORD:${{ secrets.TEST_PYPI_API_TOKEN }}
271271
-name:Publish package to PyPI
272272
if:"!contains(github.ref, '-') && startsWith(github.ref, 'refs/tags')"
273-
run:twine upload dist/*
273+
run:twine upload--skip-existingdist/*
274274
env:
275275
TWINE_USERNAME:__token__
276276
TWINE_PASSWORD:${{ secrets.PYPI_API_TOKEN }}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp