Skip to content

Commit 803c185

Browse files
committed
fix(ci): allow build-binary to run when nightly-version is skipped on PRs
1 parent d130b63 commit 803c185

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,9 @@ jobs:
159159
build-binary:
160160
name: Build Binary (${{ matrix.target }})
161161
needs: [lint, test-unit, nightly-version]
162+
# Allow this job to run even when nightly-version is skipped (PRs / non-main pushes).
163+
# Without this, GitHub skips dependents of skipped jobs by default.
164+
if: ${{ !failure() && !cancelled() }}
162165
runs-on: ${{ matrix.os }}
163166
strategy:
164167
fail-fast: false

0 commit comments

Comments
 (0)