mirror of
				https://github.com/Swatinem/rust-cache.git
				synced 2025-10-31 16:13:49 +00:00 
			
		
		
		
	fix env filtering
This commit is contained in:
		
							parent
							
								
									f6e3aa3e12
								
							
						
					
					
						commit
						cb43a50800
					
				| @ -93,7 +93,7 @@ export class CacheConfig { | ||||
| 
 | ||||
|     // these prefixes should cover most of the compiler / rust / cargo keys
 | ||||
|     const envPrefixes = ["CARGO", "CC", "CXX", "CMAKE", "RUST"]; | ||||
|     envPrefixes.push(...core.getInput("envVars").split(/\s+/)); | ||||
|     envPrefixes.push(...core.getInput("envVars").split(/\s+/).filter(Boolean)); | ||||
| 
 | ||||
|     // sort the available env vars so we have a more stable hash
 | ||||
|     const keyEnvs = []; | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user