From 0af53b75d9220c6d528b80104f0231fe447e93b2 Mon Sep 17 00:00:00 2001 From: Can Celik Date: Mon, 14 Sep 2026 18:01:54 +0300 Subject: ci: restore zig local build cache reuse (#4118) --- .github/workflows/ci.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ed8f9695..6e773dbc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,11 +14,9 @@ env: # Keep file/line backtraces without generating type and variable debug information. CARGO_PROFILE_DEV_DEBUG: "1" CARGO_PROFILE_TEST_DEBUG: "1" - # vercel-labs/setup-zig does not cache the Zig global cache, so redirect it into the - # workspace .zig-cache that the Zig build cache steps persist. Remove this (and the - # widened condition on "Restore Zig build cache") if we switch to a setup action that - # owns Zig caching, e.g. step-security/setup-zig. See PR #4023. + # Persist both Zig caches; local build outputs otherwise stay in the uncached vendor tree. ZIG_GLOBAL_CACHE_DIR: ${{ github.workspace }}/.zig-cache + ZIG_LOCAL_CACHE_DIR: ${{ github.workspace }}/.zig-cache concurrency: group: ci-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} -- cgit v1.2.3