mirror of
				https://github.com/Swatinem/rust-cache.git
				synced 2025-10-31 19:53:49 +00:00 
			
		
		
		
	add runner OS in cache key
This commit is contained in:
		
							parent
							
								
									c00f3025ca
								
							
						
					
					
						commit
						e89acd5884
					
				| @ -71,6 +71,10 @@ export class CacheConfig { | ||||
|       } | ||||
|     } | ||||
| 
 | ||||
|     // Add runner OS to the key to avoid cross-contamination of cache
 | ||||
|     const runnerOS = os.type(); | ||||
|     key += `-${runnerOS}`; | ||||
| 
 | ||||
|     self.keyPrefix = key; | ||||
| 
 | ||||
|     // Construct environment portion of the key:
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user