From 8aabc242d643dd4a2f27f9283d0541e2ed1f064a Mon Sep 17 00:00:00 2001 From: madonuko Date: Mon, 15 Jun 2026 18:30:04 +0800 Subject: [PATCH] feat(ci): use same cache if branch+arch are same --- .github/workflows/json-build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/json-build.yml b/.github/workflows/json-build.yml index a5232bd3e0..c57b52e444 100644 --- a/.github/workflows/json-build.yml +++ b/.github/workflows/json-build.yml @@ -63,8 +63,8 @@ jobs: if: ${{ !contains(matrix.pkg.labels.sccache, '0') }} uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: - SCCACHE_GHA_VERSION: ${{ matrix.version }}-${{ matrix.pkg.arch }}-${{ matrix.pkg.pkg }} - SCCACHE_GHA_CACHE_FROM: ${{ matrix.version }}-${{ matrix.pkg.arch }}-${{ matrix.pkg.pkg }} + SCCACHE_GHA_VERSION: ${{ matrix.version }}-${{ matrix.pkg.arch }} + SCCACHE_GHA_CACHE_FROM: ${{ matrix.version }}-${{ matrix.pkg.arch }} with: script: | const script = require('./.github/scripts/configure-sccache.js')