ci: ensure ~/.cache exists

This commit is contained in:
James McCoy 2022-02-19 20:04:06 -05:00
parent 0c4c384ed1
commit 0adbe58bb2
No known key found for this signature in database
GPG Key ID: DFE691AE331BA3DB

View File

@ -7,6 +7,8 @@ CI_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
source "${CI_DIR}/common/build.sh" source "${CI_DIR}/common/build.sh"
source "${CI_DIR}/common/suite.sh" source "${CI_DIR}/common/suite.sh"
mkdir -p "${HOME}/.cache"
echo "before_cache.sh: cache size" echo "before_cache.sh: cache size"
du -chd 1 "${HOME}/.cache" | sort -rh | head -20 du -chd 1 "${HOME}/.cache" | sort -rh | head -20