From 0b8224c01505af81b963772b05d33e20c120e785 Mon Sep 17 00:00:00 2001 From: Clement Tsang <34804052+ClementTsang@users.noreply.github.com> Date: Fri, 21 Oct 2022 23:26:39 -0400 Subject: ci: fix cirrus ci build cleanup (#849) --- .cirrus.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '.cirrus.yml') diff --git a/.cirrus.yml b/.cirrus.yml index 64fd8820..066c115a 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -27,7 +27,8 @@ cleanup_template: &CLEANUP_TEMPLATE before_cache_script: - rm -rf $HOME/.cargo/registry/index - rm -f ./target/.rustc_info.json - - find ./target/debug -maxdepth 1 -type f -delete # Delete stray files + - find ./target/debug -maxdepth 1 -type f -delete || true # Delete stray files if they exist + - find ./target/release -maxdepth 1 -type f -delete || true # Delete stray files env: CARGO_INCREMENTAL: 0 -- cgit v1.2.3