From a5596fde6d1010047d73476a9517823b7f1c2068 Mon Sep 17 00:00:00 2001 From: Jeremy Rand Date: Sat, 20 Feb 2021 09:01:15 +0000 Subject: [PATCH] Cirrus: clear checkpoint on download task And also on any task where the output is already cached. --- tools/cirrus_build_project.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/cirrus_build_project.sh b/tools/cirrus_build_project.sh index b128b4a..27acdc4 100755 --- a/tools/cirrus_build_project.sh +++ b/tools/cirrus_build_project.sh @@ -72,6 +72,9 @@ if [[ "$SHOULD_BUILD" -eq 1 ]]; then else #echo "This is a cache-only task, skipping build." echo "Skipping build." + + echo "Clearing interrupted cache..." + rm -rf ./tmp/interrupted_dirs/* || true fi echo "Moving caches..."