Try using sccache instead of disabling (#7873)

We temporarily can't build sccache on windows runners, but it's still available on linux.
this smol change lets us use it when available, instead of disabling across the board.


  The Windows runners now have a conditional check to disable (unset the `rustc-wrapper` env var) sccache in their entrypoint, just like the Linux ones have.
Also the workflows no longer fail when `sccache --show-stats` fails.
This commit is contained in:
antondlr
2025-08-14 02:10:13 +02:00
committed by GitHub
parent ee1b0ae2ff
commit 5ebb44e222
7 changed files with 44 additions and 45 deletions

View File

@@ -64,7 +64,7 @@ jobs:
VERSION: ${{ needs.extract-version.outputs.VERSION }}
VERSION_SUFFIX: ${{ needs.extract-version.outputs.VERSION_SUFFIX }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Update Rust
if: env.SELF_HOSTED_RUNNERS == 'false'
run: rustup update stable