This commit is contained in:
parent
651b89e28d
commit
ae0071c6d7
1 changed files with 1 additions and 1 deletions
|
|
@ -48,6 +48,7 @@ jobs:
|
||||||
path: |
|
path: |
|
||||||
~/.cargo/registry
|
~/.cargo/registry
|
||||||
~/.cargo/git
|
~/.cargo/git
|
||||||
|
~/.cache/sccache
|
||||||
workspace/target
|
workspace/target
|
||||||
key: ${{ runner.os }}-cargo-v2-debug-${{ hashFiles('**/Cargo.lock') }}
|
key: ${{ runner.os }}-cargo-v2-debug-${{ hashFiles('**/Cargo.lock') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
|
|
@ -70,7 +71,6 @@ jobs:
|
||||||
mv sccache-v0.8.2-x86_64-unknown-linux-musl/sccache $HOME/.cargo/bin/sccache
|
mv sccache-v0.8.2-x86_64-unknown-linux-musl/sccache $HOME/.cargo/bin/sccache
|
||||||
chmod +x $HOME/.cargo/bin/sccache
|
chmod +x $HOME/.cargo/bin/sccache
|
||||||
echo "RUSTC_WRAPPER=sccache" >> $GITHUB_ENV
|
echo "RUSTC_WRAPPER=sccache" >> $GITHUB_ENV
|
||||||
echo "SCCACHE_DIR=/opt/gbo/sccache" >> $GITHUB_ENV
|
|
||||||
$HOME/.cargo/bin/sccache --start-server || true
|
$HOME/.cargo/bin/sccache --start-server || true
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue