We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5b43c4 commit 954bdb8Copy full SHA for 954bdb8
.github/workflows/publish.yml
@@ -27,6 +27,7 @@ jobs:
27
28
publish-to-pypi:
29
name: Publish IMAS-Python distribution to PyPI
30
+ if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes
31
needs:
32
- build
33
runs-on: ubuntu-latest
@@ -46,6 +47,7 @@ jobs:
46
47
48
publish-to-testpypi:
49
name: Publish IMAS-Python distribution to TestPyPI
50
+ if: github.ref=='refs/heads/develop' # only publish to TestPyPI on develop pushes
51
52
53
@@ -64,4 +66,4 @@ jobs:
64
66
uses: pypa/gh-action-pypi-publish@unstable/v1
65
67
with:
68
repository-url: https://test.pypi.org/legacy/
- verbose: true
69
+ verbose: true
0 commit comments