mirror of
https://github.com/moonrepo/setup-rust.git
synced 2025-04-29 13:30:03 +00:00
Add another check.
This commit is contained in:
parent
1c70765f66
commit
007dfd3ca8
1 changed files with 5 additions and 0 deletions
|
@ -174,6 +174,11 @@ export async function saveCache() {
|
||||||
return true;
|
return true;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if (cachePaths.length === 0) {
|
||||||
|
core.info('No paths to cache, skipping save entirely');
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
await cleanCargoRegistry();
|
await cleanCargoRegistry();
|
||||||
await cleanTargetProfile();
|
await cleanTargetProfile();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue