File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3030
3131 runs-on : ${{ matrix.platform }}
3232
33+ env :
34+ CARGO_INCREMENTAL : " 0"
35+ RUSTC_WRAPPER : " sccache"
36+ SCCACHE_GHA_ENABLED : " true"
37+ SCCACHE_GHA_VERSION : " ${{ matrix.platform }}-release"
38+
3339 steps :
3440 - uses : actions/checkout@v4
3541 with :
@@ -126,6 +132,9 @@ jobs:
126132 - name : Setup Rust toolchain
127133 uses : dtolnay/rust-toolchain@stable
128134
135+ - name : Run sccache-cache
136+ uses : mozilla-actions/sccache-action@v0.0.7
137+
129138 - name : Cache Rust
130139 uses : Swatinem/rust-cache@v2
131140 with :
@@ -235,6 +244,13 @@ jobs:
235244 name : Build and upload Windows installers (WithWebView2)
236245 runs-on : windows-latest
237246 needs : build
247+
248+ env :
249+ CARGO_INCREMENTAL : " 0"
250+ RUSTC_WRAPPER : " sccache"
251+ SCCACHE_GHA_ENABLED : " true"
252+ SCCACHE_GHA_VERSION : " windows-latest-release"
253+
238254 steps :
239255 - uses : actions/checkout@v4
240256 with :
@@ -291,6 +307,9 @@ jobs:
291307 - name : Setup Rust toolchain
292308 uses : dtolnay/rust-toolchain@stable
293309
310+ - name : Run sccache-cache
311+ uses : mozilla-actions/sccache-action@v0.0.7
312+
294313 - name : Cache Rust
295314 uses : Swatinem/rust-cache@v2
296315 with :
You can’t perform that action at this time.
0 commit comments