diff --git a/dist/restore/index.js b/dist/restore/index.js index 07e4152..fc0e4d6 100644 --- a/dist/restore/index.js +++ b/dist/restore/index.js @@ -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 diff --git a/dist/save/index.js b/dist/save/index.js index 9b78cbe..b970acb 100644 --- a/dist/save/index.js +++ b/dist/save/index.js @@ -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