fix(ci): heal failed target caches
This commit is contained in:
@@ -1047,22 +1047,20 @@ fn validate_workflows(root: &Path, manifest: &CoverageManifest) -> Result<()> {
|
||||
"flock --exclusive 9",
|
||||
"rm -f -- \"$cargo_target/.metacrate-ready\"",
|
||||
"rm -f -- \"$CARGO_TARGET_DIR/.metacrate-ready\"",
|
||||
"touch \"$cargo_target/.metacrate-cloned\"",
|
||||
"stale_target",
|
||||
"python3 tools/normalize_git_mtimes.py --state",
|
||||
".metacrate-mtimes.json\" --check",
|
||||
"'**/Cargo.toml'",
|
||||
"METACRATE_DEPENDENCY_CACHE_HIT",
|
||||
"cp -al \"$previous_target\" \"$cargo_target\"",
|
||||
"METACRATE_CARGO_TARGET_CLONED=$cloned_target",
|
||||
"if test \"$METACRATE_CARGO_TARGET_CLONED\" = true",
|
||||
"if test \"$METACRATE_CARGO_CACHE_HIT\" != true",
|
||||
"fingerprint_root=\"$CARGO_TARGET_DIR/debug/.fingerprint\"",
|
||||
"-path '*/libremetaverse-programs-*/*'",
|
||||
"-name 'test-integration-test-*'",
|
||||
"-printf '%h\\0' > \"$fingerprint_list\"",
|
||||
"rm -rf -- \"$integration_fingerprint\"",
|
||||
"done < \"$fingerprint_list\"",
|
||||
"rm -f -- \"$fingerprint_list\" \"$CARGO_TARGET_DIR/.metacrate-cloned\"",
|
||||
"rm -f -- \"$fingerprint_list\"",
|
||||
] {
|
||||
if !required.contains(marker) {
|
||||
return Err(MatrixError::new(format!(
|
||||
|
||||
Reference in New Issue
Block a user