From bd3805da5beb027be5000bf209c3a41f0d495915 Mon Sep 17 00:00:00 2001 From: opencode Date: Sun, 29 Nov 2026 18:10:01 +0000 Subject: [PATCH] =?UTF-8?q?ci:=20version=20the=20ccache=20key=20=E2=80=94?= =?UTF-8?q?=20claimed=20primary=20blocked=20content-check=20repopulation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/linux.yml | 4 +++- .gitea/workflows/release.yml | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/linux.yml b/.gitea/workflows/linux.yml index 2aca2366..1664f73d 100644 --- a/.gitea/workflows/linux.yml +++ b/.gitea/workflows/linux.yml @@ -64,7 +64,9 @@ jobs: uses: actions/cache@v4 with: path: /root/.cache/ccache - key: ccache-linux-x64-${{ gitea.ref }} + # Versioned key: a claimed primary key is never overwritten (cache + # semantics), so bump this when the cache scheme changes (content-check). + key: ccache-linux-x64-content-${{ gitea.ref }} restore-keys: | ccache-linux-x64- diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index f5e51603..251c1bf2 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -145,7 +145,9 @@ jobs: uses: actions/cache@v4 with: path: /root/.cache/ccache - key: ccache-linux-x64-${{ gitea.ref }} + # Versioned key: a claimed primary key is never overwritten (cache + # semantics), so bump this when the cache scheme changes (content-check). + key: ccache-linux-x64-content-${{ gitea.ref }} restore-keys: | ccache-linux-x64-