From 3af175f4ed6ccc8d8e35ffb507326cd4700d8c2d Mon Sep 17 00:00:00 2001 From: syui Date: Sun, 10 Aug 2025 04:25:29 +0900 Subject: [PATCH] Fix: Update cache key to include Cargo.toml hash MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This forces cache invalidation when version changes 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- .github/workflows/cloudflare-pages.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cloudflare-pages.yml b/.github/workflows/cloudflare-pages.yml index 2865f45..68ad3fd 100644 --- a/.github/workflows/cloudflare-pages.yml +++ b/.github/workflows/cloudflare-pages.yml @@ -56,9 +56,9 @@ jobs: uses: actions/cache@v4 with: path: ./bin - key: ailog-bin-${{ runner.os }} + key: ailog-bin-${{ runner.os }}-v${{ hashFiles('Cargo.toml') }} restore-keys: | - ailog-bin-${{ runner.os }} + ailog-bin-${{ runner.os }}-v - name: Setup ailog binary run: |