6262 uses : actions/cache@v2
6363 with :
6464 path : C:/Rust/.cargo/bin/sccache.exe
65- key : ${{ runner.os }}-sccache-0
65+ key : ${{ runner.os }}-sccache-0.2.15-0
6666
6767 - name : Install sccache build dependencies (Windows)
6868 if : runner.os == 'Windows' && steps.cache-sccache-windows.outputs.cache-hit != 'true'
@@ -73,23 +73,23 @@ jobs:
7373 - name : Install sccache (Linux)
7474 if : runner.os == 'Linux'
7575 run : |
76- wget -O sccache.tar.gz --progress dot:mega https://github.com/mozilla/sccache/releases/download/0 .2.13 /sccache-0 .2.13 -x86_64-unknown-linux-musl.tar.gz
76+ wget -O sccache.tar.gz --progress dot:mega https://github.com/mozilla/sccache/releases/download/v0 .2.15 /sccache-v0 .2.15 -x86_64-unknown-linux-musl.tar.gz
7777 tar -xvzf sccache.tar.gz
78- mv sccache-0.2.13-x86_64-unknown-linux-musl/sccache /usr/share/rust/.cargo/bin/sccache
78+ mv sccache-v0.2.15-x86_64-unknown-linux-musl/sccache /usr/share/rust/.cargo/bin/sccache
79+ chmod +x /usr/share/rust/.cargo/bin/sccache
7980
8081 - name : Install sccache (macOS)
8182 if : runner.os == 'macOS'
8283 run : |
83- wget -O sccache.tar.gz --progress dot:mega https://github.com/mozilla/sccache/releases/download/0 .2.13 /sccache-0 .2.13 -x86_64-apple-darwin.tar.gz
84+ wget -O sccache.tar.gz --progress dot:mega https://github.com/mozilla/sccache/releases/download/v0 .2.15 /sccache-v0 .2.15 -x86_64-apple-darwin.tar.gz
8485 tar -xvzf sccache.tar.gz
85- mv sccache-0.2.13-x86_64-apple-darwin/sccache /Users/runner/.cargo/bin/sccache
86+ mv sccache-v0.2.15-x86_64-apple-darwin/sccache /Users/runner/.cargo/bin/sccache
87+ chmod +x /Users/runner/.cargo/bin/sccache
8688
8789 - name : Install sccache (Windows)
8890 if : steps.cache-sccache-windows.outputs.cache-hit != 'true' && runner.os == 'Windows'
89- # sccache doesn't work with Rust 1.48. https://github.com/mozilla/sccache/issues/887
9091 run : |
91- rustup install 1.47.0
92- cargo +1.47.0 install --features 'azure s3' sccache
92+ cargo install --features 's3' --version 0.2.15 sccache
9393
9494 - name : Start sccache
9595 run : |
0 commit comments