File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed
Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change 5959 needs :
6060 - test
6161 concurrency : release
62+ if : github.ref == 'refs/heads/main'
6263 permissions :
6364 contents : write
6465 issues : write
@@ -74,19 +75,15 @@ jobs:
7475 with :
7576 fetch-depth : 0
7677 persist-credentials : false
77-
78+
7879 - name : Python Semantic Release
7980 id : release
8081 uses : python-semantic-release/python-semantic-release@v9.14.0
8182 with :
8283 github_token : ${{ secrets.GH_TOKEN }}
83- root_options : ${{ github.ref != 'refs/heads/main' && '-vv --noop' || '-vv' }}
84-
8584 - name : Publish package distributions to PyPI
8685 uses : pypa/gh-action-pypi-publish@v1.12.2
87- if : github.ref == 'refs/heads/main' && steps.release.outputs.released == 'true'
88-
86+ if : steps.release.outputs.released == 'true'
8987 - name : Publish package distributions to GitHub Releases
9088 uses : python-semantic-release/upload-to-gh-release@v8.7.0
91- if : github.ref == 'refs/heads/main' && steps.release.outputs.released == 'true'
92-
89+ if : steps.release.outputs.released == 'true'
You can’t perform that action at this time.
0 commit comments