aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorCan Celik <ogulcancelik@gmail.com>2026-09-14 18:01:54 +0300
committerGitHub <noreply@github.com>2026-09-14 18:01:54 +0300
commit0af53b75d9220c6d528b80104f0231fe447e93b2 (patch)
treefe227487fcb92767b421143e0790824ea518294c /.github
parent7fe5a7cd42bdef54cad32b5b8ec6d059159dd6a8 (diff)
ci: restore zig local build cache reuse (#4118)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml6
1 files 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 }}