Skip to content

Commit 3ffe0d7

Browse files
authored
ci: bump 'sccache' to v0.8.2 (#1748)
1 parent 9cd5842 commit 3ffe0d7

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -174,18 +174,19 @@ jobs:
174174
shell: pwsh
175175
env:
176176
SCCACHE_DIR: ${{ github.workspace }}/target/sccache
177-
SCCACHE_CACHE_SIZE: 128M
177+
SCCACHE_CACHE_SIZE: 256M
178178
SCCACHE_IDLE_TIMEOUT: 0
179179
run: |
180-
$version = "0.2.12"
180+
$version = "v0.8.2"
181181
$platform =
182-
@{ "macOS" = "x86_64-apple-darwin"
183-
"Linux" = "x86_64-unknown-linux-musl"
184-
"Windows" = "x86_64-pc-windows-msvc"
185-
}.${{ runner.os }}
182+
@{ "x86_64-apple-darwin" = "x86_64-apple-darwin"
183+
"aarch64-apple-darwin" = "aarch64-apple-darwin"
184+
"x86_64-unknown-linux-gnu" = "x86_64-unknown-linux-musl"
185+
"aarch64-unknown-linux-gnu" = "aarch64-unknown-linux-musl"
186+
"x86_64-pc-windows-msvc" = "x86_64-pc-windows-msvc"
187+
}['${{ matrix.config.target }}']
186188
$basename = "sccache-$version-$platform"
187-
$url = "https://github.com/mozilla/sccache/releases/download/" +
188-
"$version/$basename.tar.gz"
189+
$url = "https://github.com/mozilla/sccache/releases/download/$version/$basename.tar.gz"
189190
cd ~
190191
curl -LO $url
191192
tar -xzvf "$basename.tar.gz"
@@ -280,7 +281,7 @@ jobs:
280281
uses: dsherret/rust-toolchain-file@v1
281282

282283
- name: Install python
283-
uses: actions/setup-python@v4
284+
uses: actions/setup-python@v5
284285
with:
285286
python-version: 3.11.x
286287
architecture: x64

0 commit comments

Comments
 (0)