Spaces:
Sleeping
Sleeping
MilesCranmer
commited on
Commit
β’
17a699d
1
Parent(s):
c97f60d
Only run pypi test deploy on new version
Browse files
.github/workflows/pypi_deploy.yml
CHANGED
@@ -20,6 +20,7 @@ jobs:
|
|
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 }}
|
|
|
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 }}
|