Spaces:
Sleeping
Sleeping
MilesCranmer
commited on
Commit
β’
6b46e9f
1
Parent(s):
17a699d
Run test pypi deploy, but skip existing versions
Browse files
.github/workflows/pypi_deploy.yml
CHANGED
@@ -20,11 +20,11 @@ jobs:
|
|
20 |
- name: "Build package"
|
21 |
run: python setup.py sdist bdist_wheel
|
22 |
- name: "Publish distribution π¦ to Test PyPI"
|
23 |
-
if: startsWith(github.ref, 'refs/tags')
|
24 |
uses: pypa/gh-action-pypi-publish@release/v1
|
25 |
with:
|
26 |
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
|
27 |
repository_url: https://test.pypi.org/legacy/
|
|
|
28 |
- name: "Publish distribution π¦ to PyPI"
|
29 |
if: startsWith(github.ref, 'refs/tags')
|
30 |
uses: pypa/gh-action-pypi-publish@release/v1
|
|
|
20 |
- name: "Build package"
|
21 |
run: python setup.py sdist bdist_wheel
|
22 |
- name: "Publish distribution π¦ to Test PyPI"
|
|
|
23 |
uses: pypa/gh-action-pypi-publish@release/v1
|
24 |
with:
|
25 |
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
|
26 |
repository_url: https://test.pypi.org/legacy/
|
27 |
+
skip_existing: true
|
28 |
- name: "Publish distribution π¦ to PyPI"
|
29 |
if: startsWith(github.ref, 'refs/tags')
|
30 |
uses: pypa/gh-action-pypi-publish@release/v1
|