File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
template/{% if git_platform=="github.com" %}.github{% endif %}/workflows Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 4040 EXAMPLE_DEPLOY_KEY : ${{ secrets.EXAMPLE_DEPLOY_KEY }}
4141
4242 release :
43- if : needs.test.result && github.ref_type == 'tag'
43+ if : needs.test.result == 'success' && github.ref_type == 'tag'
4444 needs : [test, docs]
4545 uses : ./.github/workflows/_release.yml
4646 permissions :
Original file line number Diff line number Diff line change 4949{% endif %}
5050 dist:
5151 needs: check
52- if: needs.test.output && needs.check.outputs.branch-pr == ''
52+ if: needs.test.result == 'success' && needs.check.outputs.branch-pr == ''
5353 uses: ./.github/workflows/_dist.yml
5454 {% if pypi %}
5555 pypi:
6060 id-token: write
6161 {% endif %}
6262 release:
63- if: needs.test.output && github.ref_type == 'tag'
63+ if: needs.test.result == 'success' && github.ref_type == 'tag'
6464 needs: [dist, test{% if sphinx %} , docs{% endif %} ]
6565 uses: ./.github/workflows/_release.yml
6666 permissions:
You can’t perform that action at this time.
0 commit comments