Skip to content

Commit c4b3adf

Browse files
committed
ci: default fetched sccache to v0.16.0 (latest)
Bump the SCCACHE_DL_VERSION default 0.15.0 -> 0.16.0 (released 2026-06-19, the current latest). The x86_64-unknown-linux-musl asset is confirmed published; the fetch stays fail-safe (a missing version just falls back to an uncached build) and the value is overridable per-job. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LjWiKSyNzqqpobSKYRiew5
1 parent 4af2250 commit c4b3adf

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/build.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ fi
2424
#
2525
# SCCACHE_DL_VERSION is overridable per-job, so a container that crashes one sccache build can
2626
# try another without editing this script (the in-container panic that stalled phase 2 was on
27-
# v0.8.2; v0.15.0 is the current stable default). A wrong/unavailable version just fails the
28-
# `curl -f` and falls back to an uncached build, so bumping it can never red a build.
29-
SCCACHE_DL_VERSION="${SCCACHE_DL_VERSION:-0.15.0}"
27+
# v0.8.2; v0.16.0 is the latest release and the default). A wrong/unavailable version just fails
28+
# the `curl -f` and falls back to an uncached build, so bumping it can never red a build.
29+
SCCACHE_DL_VERSION="${SCCACHE_DL_VERSION:-0.16.0}"
3030
if [ "${USE_CACHE:-true}" = "true" ] && [ -n "${SCCACHE_WEBDAV_TOKEN:-}${SCCACHE_GHA_ENABLED:-}" ] \
3131
&& ! command -v sccache >/dev/null 2>&1 \
3232
&& [ "$(uname -s)" = "Linux" ] && [ "$(uname -m)" = "x86_64" ]; then

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ build. The probe above now makes that a safe fallback.) Order, each adding the e
226226
Per-job recipe: add `env:` { `USE_CACHE`, `SCCACHE_WEBDAV_ENDPOINT`, `SCCACHE_WEBDAV_TOKEN` } and
227227
`DOCKCROSS_ARGS: "-e SCCACHE_WEBDAV_ENDPOINT -e SCCACHE_WEBDAV_TOKEN -e USE_CACHE"` — the
228228
dockcross wrapper only forwards host env it is explicitly told to via `-e`. The fetched sccache
229-
version is the `SCCACHE_DL_VERSION` knob in `build.sh` (default **0.15.0**; overridable per-job
229+
version is the `SCCACHE_DL_VERSION` knob in `build.sh` (default **0.16.0**; overridable per-job
230230
to try a different build against a container that crashed another). **Windows** (`build.bat` +
231231
MSVC) is separate and last: use `mozilla-actions/sccache-action` / sccache's MSVC support, not
232232
the `build.sh` musl fetch.

0 commit comments

Comments
 (0)