3
0
Fork 0
mirror of https://github.com/Swatinem/rust-cache synced 2025-04-27 13:45:52 +00:00
This commit is contained in:
Jonathan Kelley 2025-01-28 18:53:15 -08:00
parent acd5291606
commit 3231cccdde
No known key found for this signature in database
GPG key ID: 1FBB50F7EB0A08BE
2 changed files with 453 additions and 453 deletions

4
dist/save/index.js vendored
View file

@ -86789,11 +86789,11 @@ class CacheConfig {
}
}
self.keyEnvs = keyEnvs;
key += `-${digest(hasher)}`;
self.restoreKey = key;
// Make sure we consider incremental builds
self.incremental = core.getInput("incremental").toLowerCase() == "true";
hasher.update(`incremental=${self.incremental}`);
key += `-${digest(hasher)}`;
self.restoreKey = key;
// Construct the lockfiles portion of the key:
// This considers all the files found via globbing for various manifests
// and lockfiles.