Commit 9a2e0d3 1 parent c00f302 commit 9a2e0d3 Copy full SHA for 9a2e0d3
File tree 3 files changed +10
-0
lines changed
3 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -77314,6 +77314,9 @@ class CacheConfig {
77314
77314
key += `-${job}`;
77315
77315
}
77316
77316
}
77317
+ // Add runner OS to the key to avoid cross-contamination of cache
77318
+ const runnerOS = external_os_default().type();
77319
+ key += `-${runnerOS}`;
77317
77320
self.keyPrefix = key;
77318
77321
// Construct environment portion of the key:
77319
77322
// This consists of a hash that considers the rust version
Original file line number Diff line number Diff line change @@ -77314,6 +77314,9 @@ class CacheConfig {
77314
77314
key += `-${job}`;
77315
77315
}
77316
77316
}
77317
+ // Add runner OS to the key to avoid cross-contamination of cache
77318
+ const runnerOS = external_os_default().type();
77319
+ key += `-${runnerOS}`;
77317
77320
self.keyPrefix = key;
77318
77321
// Construct environment portion of the key:
77319
77322
// This consists of a hash that considers the rust version
Original file line number Diff line number Diff line change @@ -71,6 +71,10 @@ export class CacheConfig {
71
71
}
72
72
}
73
73
74
+ // Add runner OS to the key to avoid cross-contamination of cache
75
+ const runnerOS = os . type ( ) ;
76
+ key += `-${ runnerOS } ` ;
77
+
74
78
self . keyPrefix = key ;
75
79
76
80
// Construct environment portion of the key:
You can’t perform that action at this time.
0 commit comments