ci: Always install crown, even on self-hosted (#35637)

Signed-off-by: Samson <16504129+sagudev@users.noreply.github.com>
This commit is contained in:
Samson 2025-02-24 18:15:46 +01:00 committed by GitHub
parent fc14b10099
commit d78f7b2d78
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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: |