Skip to content

Commit 1988c19

Browse files
authored
fix(cd): replicate conditions (#493)
1 parent 16fb530 commit 1988c19

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
5959
build-binaries:
6060
name: Build binaries
61-
if: always() && (github.event.pull_request.merged || (github.event_name == 'workflow_dispatch' && needs.publish-dry-run.result == 'success'))
61+
if: ${{ (github.event.pull_request.merged || github.event_name == 'workflow_dispatch') && needs.publish-dry-run.result == 'success' }}
6262
strategy:
6363
matrix:
6464
include:
@@ -146,6 +146,7 @@ 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' }}
149150
steps:
150151
- name: Checkout
151152
uses: actions/checkout@v6

0 commit comments

Comments
 (0)