Skip to content

Commit ef2d993

Browse files
authored
fix(ci): expose GHA sccache env in shadow-shared-cpu-spike (#950)
Signed-off-by: Jonas Toelke <jtoelke@nvidia.com>
1 parent 75b880b commit ef2d993

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/shadow-shared-cpu-spike.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,14 @@ jobs:
4343
- name: Install tools
4444
run: mise install
4545

46+
- name: Configure GHA sccache backend
47+
# Exposes ACTIONS_CACHE_URL / ACTIONS_RUNTIME_TOKEN to subsequent steps
48+
# so sccache (wrapped around rustc via RUSTC_WRAPPER in mise.toml) can
49+
# initialize the GHA cache. Without this, sccache fails at startup with
50+
# "cache url for ghac not found". The action also installs its own
51+
# sccache binary; harmless since mise's sccache remains on PATH.
52+
uses: mozilla-actions/sccache-action@7d986dd989559c6ecdb630a3fd2557667be217ad # v0.0.9
53+
4654
- name: Cache Rust target and registry
4755
uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2
4856
with:

0 commit comments

Comments
 (0)