From 0c63cbeea2e46f3928aa243ae26d13dc3b91d569 Mon Sep 17 00:00:00 2001 From: Matt Clarkson Date: Tue, 10 Dec 2024 15:05:38 +0000 Subject: [PATCH] fix: add CI executable architecture/OS to the cache key Makes sure that caches on Linux, Mac, Windows do not conflict. --- templates/bazelisk.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/bazelisk.yml b/templates/bazelisk.yml index 17faa80..ba92856 100644 --- a/templates/bazelisk.yml +++ b/templates/bazelisk.yml @@ -28,7 +28,7 @@ spec: default: . description: "The root directory of the Bazel module." key: - default: "bazelisk-1" + default: "bazelisk-${CI_RUNNER_EXECUTABLE_ARCH}-1" description: "The GitLab CI cache key." variables: default: | -- GitLab