From d78f7b2d786735d1c2fad30555bd0d0d42d87129 Mon Sep 17 00:00:00 2001 From: Samson <16504129+sagudev@users.noreply.github.com> Date: Mon, 24 Feb 2025 18:15:46 +0100 Subject: [PATCH] ci: Always install crown, even on self-hosted (#35637) Signed-off-by: Samson <16504129+sagudev@users.noreply.github.com> --- .github/workflows/mac.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/mac.yml b/.github/workflows/mac.yml index 51a25a7a411..bb413f50cc9 100644 --- a/.github/workflows/mac.yml +++ b/.github/workflows/mac.yml @@ -133,9 +133,13 @@ jobs: - if: runner.environment != 'self-hosted' name: Setup Python uses: ./.github/actions/setup-python - - if: runner.environment != 'self-hosted' - name: Install crown + + # Always install crown, even on self-hosted runners, because it is tightly + # coupled to the rustc version, and we may have the wrong version if the + # commit we are building uses a different rustc version. + - name: Install crown run: cargo install --path support/crown + - if: runner.environment != 'self-hosted' name: Bootstrap run: |