ci: fix cirrus ci build cleanup (#849)

This commit is contained in:
Clement Tsang 2022-10-21 23:26:39 -04:00 committed by GitHub
parent 59c214b733
commit 0b8224c015
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -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