Skip to content

Commit b0c88a2

Browse files
authored
Only test release builds on main (#14475)
This is one of the slowest remaining jobs in the pull request CI. We could use a larger runner for a trivial speed-up (in exchange for $$), but I don't think this is going to break often enough to merit testing on every pull request commit? It's not a required job, so I don't feel strongly about it, but it feels like a bit of a waste of compute. Originally added in #11182
1 parent b9c53a7 commit b0c88a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ jobs:
213213
name: "cargo build (release)"
214214
runs-on: macos-latest
215215
needs: determine_changes
216-
if: ${{ needs.determine_changes.outputs.code == 'true' || github.ref == 'refs/heads/main' }}
216+
if: ${{ github.ref == 'refs/heads/main' }}
217217
timeout-minutes: 20
218218
steps:
219219
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)