Skip to content

Commit 4ce5fd9

Browse files
committed
Pin windows arm64 sccache to 0.12.0
1 parent be3e229 commit 4ce5fd9

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/naive-build.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,8 @@ jobs:
196196
197197
windows:
198198
runs-on: windows-2022
199+
env:
200+
SCCACHE_ARM64_VERSION: 0.12.0
199201
strategy:
200202
fail-fast: false
201203
matrix:
@@ -225,7 +227,15 @@ jobs:
225227
if: steps.build-cache.outputs.cache-hit != 'true'
226228
run: |
227229
choco install ninja -y
228-
choco install sccache -y
230+
- name: Install sccache
231+
if: steps.build-cache.outputs.cache-hit != 'true'
232+
shell: pwsh
233+
run: |
234+
if ("${{ matrix.arch }}" -eq "arm64") {
235+
choco install sccache --version=${{ env.SCCACHE_ARM64_VERSION }} -y
236+
} else {
237+
choco install sccache -y
238+
}
229239
- name: Get sccache version
230240
if: steps.build-cache.outputs.cache-hit != 'true'
231241
id: sccache

0 commit comments

Comments
 (0)