fix: ensure SCCACHE_GHA_ENABLED is set to 'true' or 'false' based on input

This commit is contained in:
mr. M
2025-04-01 19:51:17 +02:00
parent b4269b9001
commit aa673cc361
4 changed files with 11 additions and 8 deletions

View File

@@ -32,7 +32,7 @@ jobs:
matrix:
arch: [x86_64, aarch64]
env:
SCCACHE_GHA_ENABLED: ${ inputs.use-sccache }
SCCACHE_GHA_ENABLED: ${ inputs.use-sccache && 'true' || 'false' }
CARGO_TERM_COLOR: always
RUSTC_WRAPPER: ${ inputs.use-sccache && 'sccache' || '' }
CARGO_INCREMENTAL: 0