3
0
Fork 0
mirror of https://github.com/Swatinem/rust-cache synced 2025-04-11 07:03:37 +00:00

fix check-dist on ci

This commit is contained in:
Ranadeep Biswas 2024-12-09 12:58:49 +01:00
parent e89acd5884
commit 342be2ce54
No known key found for this signature in database
2 changed files with 6 additions and 0 deletions

View file

@ -77314,6 +77314,9 @@ class CacheConfig {
key += `-${job}`;
}
}
// Add runner OS to the key to avoid cross-contamination of cache
const runnerOS = external_os_default().type();
key += `-${runnerOS}`;
self.keyPrefix = key;
// Construct environment portion of the key:
// This consists of a hash that considers the rust version

3
dist/save/index.js vendored
View file

@ -77314,6 +77314,9 @@ class CacheConfig {
key += `-${job}`;
}
}
// Add runner OS to the key to avoid cross-contamination of cache
const runnerOS = external_os_default().type();
key += `-${runnerOS}`;
self.keyPrefix = key;
// Construct environment portion of the key:
// This consists of a hash that considers the rust version