Skip to content

Commit 8f998b7

Browse files
committed
ci: update sccache
1 parent 475f536 commit 8f998b7

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/pyoxidizer.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)