From 988e0e5b446f17358f61f6f4fd0be53d8ae7ae12 Mon Sep 17 00:00:00 2001 From: Mike Solar Date: Sat, 18 Jul 2026 14:02:42 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20fix=20ccache=20dir=20path=20=E2=80=94=20r?= =?UTF-8?q?unner.temp=20is=20not=20a=20valid=20expression=20context?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Point CCACHE_DIR and the cache action at a fixed workspace directory instead; checkout cleans untracked files before the restore, so the ordering is safe. --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ceb1d512a..24256291d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ jobs: os: [warp-ubuntu-latest-x64-8x, warp-macos-15-arm64-12x, warp-windows-latest-x64-8x] env: CMAKE_BUILD_TYPE: Release - CCACHE_DIR: ${{ runner.temp }}/ccache + CCACHE_DIR: ${{ github.workspace }}/.ccache CCACHE_MAXSIZE: 1G # Enable OFX integration tests that require external plugin bundles RUN_OFX_ITEST: "1" @@ -110,7 +110,7 @@ jobs: - name: Restore ccache uses: WarpBuilds/cache@v1 with: - path: ${{ runner.temp }}/ccache + path: ${{ github.workspace }}/.ccache key: ccache-${{ runner.os }}-${{ github.ref_name }}-${{ github.sha }} restore-keys: | ccache-${{ runner.os }}-${{ github.ref_name }}- @@ -276,7 +276,7 @@ jobs: env: CMAKE_BUILD_TYPE: Release QT_QPA_PLATFORM: offscreen - CCACHE_DIR: ${{ runner.temp }}/ccache + CCACHE_DIR: ${{ github.workspace }}/.ccache CCACHE_MAXSIZE: 1G steps: @@ -297,7 +297,7 @@ jobs: - name: Restore ccache uses: WarpBuilds/cache@v1 with: - path: ${{ runner.temp }}/ccache + path: ${{ github.workspace }}/.ccache key: ccache-${{ runner.os }}-dynamic-${{ github.ref_name }}-${{ github.sha }} restore-keys: | ccache-${{ runner.os }}-dynamic-${{ github.ref_name }}-