summaryrefslogtreecommitdiffstats
path: root/.cirrus.yml
diff options
context:
space:
mode:
authorClement Tsang <34804052+ClementTsang@users.noreply.github.com>2022-10-21 23:26:39 -0400
committerGitHub <noreply@github.com>2022-10-21 23:26:39 -0400
commit0b8224c01505af81b963772b05d33e20c120e785 (patch)
tree2e38dc158332f09bfdcaa70248e99b55fe926802 /.cirrus.yml
parent59c214b733c332aa2a8a3d10db1d42a820c36611 (diff)
ci: fix cirrus ci build cleanup (#849)
Diffstat (limited to '.cirrus.yml')
-rw-r--r--.cirrus.yml3
1 files changed, 2 insertions, 1 deletions
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