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 817fad0 commit 140647aCopy full SHA for 140647a
.github/workflows/release.yml
@@ -36,6 +36,7 @@ jobs:
36
37
publish-to-pypi:
38
name: Publish to PyPI
39
+ if: github.ref == 'refs/heads/main' && startsWith(github.ref, 'refs/tags/v')
40
runs-on: ubuntu-latest
41
environment:
42
name: PyPi
@@ -52,7 +53,6 @@ jobs:
52
53
54
install-library-from-pypi:
55
name: Install from PyPI
- if: startsWith(github.ref, 'refs/tags/v')
56
needs: [publish-to-pypi]
57
58
steps:
0 commit comments