Commit 0fab5a78 authored by Hunter Loftis's avatar Hunter Loftis

no need to store these things in the slug

parent 493ce9f1
......@@ -164,6 +164,7 @@ cache_build() {
save_cache_directories "$BUILD_DIR" "$CACHE_DIR" $cache_directories
fi
save_signature
remove_caches_from_slug "$BUILD_DIR"
}
header "Caching build"
......
......@@ -56,6 +56,11 @@ restore_cache_directories() {
done
}
remove_caches_from_slug() {
local build_dir=${1:-}
rm -rf $build_dir/.npm $build_dir/.cache/yarn
}
clear_cache() {
rm -rf $CACHE_DIR/node
mkdir -p $CACHE_DIR/node
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment