File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 2525 publish-dry-run :
2626 name : " Runs cargo publish --dry-run"
2727 runs-on : ubuntu-latest
28- if : ${{ github.event.pull_request.merged }}
28+ if : ${{ always() && ( github.event.pull_request.merged || github.event_name == 'workflow_dispatch') }}
2929 steps :
3030 - name : Checkout
3131 uses : actions/checkout@v6
5858
5959 build-binaries :
6060 name : Build binaries
61- if : ${{ (github.event.pull_request.merged || github.event_name == 'workflow_dispatch') && needs. publish-dry-run.result == 'success' }}
61+ needs : publish-dry-run
6262 strategy :
6363 matrix :
6464 include :
@@ -146,7 +146,6 @@ jobs:
146146 name : Create Release
147147 needs : build-binaries
148148 runs-on : ubuntu-latest
149- if : ${{ (github.event.pull_request.merged || github.event_name == 'workflow_dispatch') && needs.build-binaries.result == 'success' }}
150149 steps :
151150 - name : Checkout
152151 uses : actions/checkout@v6
You can’t perform that action at this time.
0 commit comments