ci: revert cache version hack

This commit is contained in:
Trent Nelson 2022-02-22 11:58:45 -07:00 committed by mergify[bot]
parent 88e1192c6b
commit 5766567e9f
1 changed files with 1 additions and 2 deletions

View File

@ -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