File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 2929 - run : echo "ci started"
3030
3131 build-python :
32- if : ${{ github.event_name == 'workflow_dispatch' && github. ref == 'refs/heads/main' && inputs.create_release }}
32+ if : ${{ github.ref == 'refs/heads/main' && inputs.create_release }}
3333 runs-on : ubuntu-latest
3434 outputs :
3535 version : ${{ steps.version.outputs.version }}
6868 path : dist/
6969
7070 tests :
71- if : ${{ github.event_name == 'workflow_dispatch' && github. ref == 'refs/heads/main' && inputs.create_release }}
71+ if : ${{ github.ref == 'refs/heads/main' && inputs.create_release }}
7272 needs : build-python
7373 strategy :
7474 matrix :
@@ -103,7 +103,7 @@ jobs:
103103 run : poe all --check
104104
105105 github-release :
106- if : ${{ github.event_name == 'workflow_dispatch' && github. ref == 'refs/heads/main' && inputs.create_release }}
106+ if : ${{ github.ref == 'refs/heads/main' && inputs.create_release }}
107107 needs :
108108 - build-python
109109 - tests
@@ -142,7 +142,7 @@ jobs:
142142
143143 publish :
144144 name : Publish to PyPI
145- if : ${{ github.event_name == 'workflow_dispatch' && github. ref == 'refs/heads/main' && inputs.create_release }}
145+ if : ${{ github.ref == 'refs/heads/main' && inputs.create_release }}
146146 needs : github-release
147147 runs-on : ubuntu-latest
148148 permissions :
You can’t perform that action at this time.
0 commit comments