Skip to content

Commit 80d7612

Browse files
committed
ci: Use sccache on macOS
We're busting the cache, so let's switch to a cache backend with less aggressive cache eviction.
1 parent d8f08e1 commit 80d7612

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/dist.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ concurrency:
1515
cancel-in-progress: true
1616

1717
env:
18+
SCCACHE_CACHE_MULTIARCH: "1"
1819
SCCACHE_WEBDAV_ENDPOINT: "https://frcmaven.wpi.edu/artifactory/wpilib-generic-cache-cmake-local"
1920
SCCACHE_WEBDAV_KEY_PREFIX: "sccache-robotpy"
2021

@@ -96,7 +97,7 @@ jobs:
9697
shell: bash
9798
id: ccache
9899
run: |
99-
if [[ "${{ runner.os }}" == "Windows" ]]; then
100+
if [[ "${{ runner.os }}" != "Linux" ]]; then
100101
echo "VARIANT=sccache" >> $GITHUB_OUTPUT
101102
else
102103
echo "VARIANT=ccache" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)