From 5766567e9fca18003fc454a87ebd8adf34635140 Mon Sep 17 00:00:00 2001 From: Trent Nelson Date: Tue, 22 Feb 2022 11:58:45 -0700 Subject: [PATCH] ci: revert cache version hack --- .buildkite/hooks/pre-command | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.buildkite/hooks/pre-command b/.buildkite/hooks/pre-command index 1712cd7711..fd898e8d34 100644 --- a/.buildkite/hooks/pre-command +++ b/.buildkite/hooks/pre-command @@ -19,8 +19,7 @@ pattern='^[0-9]+\.[0-9]+\.[0-9]+$' if [[ ${HOST_RUST_VERSION} =~ ${pattern} ]]; then HOST_RUST_VERSION="${rust_stable%.*}" fi -CACHE_VERSION=1 # bump version to invalidate caches -export CARGO_TARGET_CACHE=$HOME/cargo-target-cache/"$CHANNEL"-"$BUILDKITE_LABEL"-"$SBF_TOOLS_VERSION"-"$HOST_RUST_VERSION"-"$CACHE_VERSION" +export CARGO_TARGET_CACHE=$HOME/cargo-target-cache/"$CHANNEL"-"$BUILDKITE_LABEL"-"$SBF_TOOLS_VERSION"-"$HOST_RUST_VERSION" ( set -x MAX_CACHE_SIZE=18 # gigabytes