ci: fix cirrus ci build cleanup (#849)
This commit is contained in:
parent
59c214b733
commit
0b8224c015
|
@ -27,7 +27,8 @@ cleanup_template: &CLEANUP_TEMPLATE
|
||||||
before_cache_script:
|
before_cache_script:
|
||||||
- rm -rf $HOME/.cargo/registry/index
|
- rm -rf $HOME/.cargo/registry/index
|
||||||
- rm -f ./target/.rustc_info.json
|
- 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:
|
env:
|
||||||
CARGO_INCREMENTAL: 0
|
CARGO_INCREMENTAL: 0
|
||||||
|
|
Loading…
Reference in New Issue