From 0adbe58bb242e945e4684bcadb40cbb293bff59e Mon Sep 17 00:00:00 2001 From: James McCoy Date: Sat, 19 Feb 2022 20:04:06 -0500 Subject: [PATCH] ci: ensure ~/.cache exists --- ci/before_cache.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ci/before_cache.sh b/ci/before_cache.sh index c86109168e..a25221e066 100755 --- a/ci/before_cache.sh +++ b/ci/before_cache.sh @@ -7,6 +7,8 @@ CI_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" source "${CI_DIR}/common/build.sh" source "${CI_DIR}/common/suite.sh" +mkdir -p "${HOME}/.cache" + echo "before_cache.sh: cache size" du -chd 1 "${HOME}/.cache" | sort -rh | head -20