From 329d419ac7c51a0873ebb8b26491b6b9370e0989 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Ber=C3=A1nek?= Date: Tue, 17 Feb 2026 21:36:13 +0100 Subject: [PATCH] Do not cancel try builds after first job failure --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4409d4f33afc2..fcdde9c91e8da 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -94,6 +94,10 @@ jobs: CACHE_DOMAIN: ci-caches.rust-lang.org continue-on-error: ${{ matrix.continue_on_error || false }} strategy: + # If the user starts multiple jobs in a try build, let them all finish. + # Try builds are sometimes used to test several jobs at once, and it is useful to know which + # of them would succeed or not. + fail-fast: ${{ needs.calculate_matrix.outputs.run_type != 'try' }} matrix: # Check the `calculate_matrix` job to see how is the matrix defined. include: ${{ fromJSON(needs.calculate_matrix.outputs.jobs) }}