diff --git a/.buildkite/hooks/pre-command b/.buildkite/hooks/pre-command index 1712cd771..fd898e8d3 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