use separate install-sccache script (#3755)

This commit is contained in:
Bart Louwers
2025-08-25 22:27:48 +02:00
committed by GitHub
parent 3cef33215c
commit 7838327ed7
2 changed files with 8 additions and 6 deletions

View File

@@ -4,10 +4,5 @@ runs:
using: "composite"
steps:
- name: Install sccache
run: |
curl -LO https://github.com/mozilla/sccache/releases/download/v0.10.0/sccache-v0.10.0-x86_64-unknown-linux-musl.tar.gz
tar -xzf sccache-v0.10.0-x86_64-unknown-linux-musl.tar.gz
sudo mv sccache-v0.10.0-x86_64-unknown-linux-musl/sccache /usr/bin/sccache
sudo chmod +x /usr/bin/sccache
rm -rf sccache-v0.10.0-x86_64-unknown-linux-musl*
run: ${{ github.action_path }}/install-sccache
shell: bash

View File

@@ -0,0 +1,7 @@
#!/bin/bash
curl -LO https://github.com/mozilla/sccache/releases/download/v0.10.0/sccache-v0.10.0-x86_64-unknown-linux-musl.tar.gz
tar -xzf sccache-v0.10.0-x86_64-unknown-linux-musl.tar.gz
sudo mv sccache-v0.10.0-x86_64-unknown-linux-musl/sccache /usr/bin/sccache
sudo chmod +x /usr/bin/sccache
rm -rf sccache-v0.10.0-x86_64-unknown-linux-musl*