mirror of
				https://github.com/actions/cache.git
				synced 2025-10-31 20:08:36 +08:00 
			
		
		
		
	Merge pull request #1 from abernard/guarantee-sorted-input
Guarantee getInputAsArray consistent across runs on separate machines
This commit is contained in:
		
						commit
						83f8567089
					
				|  | @ -38,7 +38,8 @@ export function getInputAsArray( | ||||||
|         .getInput(name, options) |         .getInput(name, options) | ||||||
|         .split("\n") |         .split("\n") | ||||||
|         .map(s => s.replace(/^!\s+/, "!").trim()) |         .map(s => s.replace(/^!\s+/, "!").trim()) | ||||||
|         .filter(x => x !== ""); |         .filter(x => x !== "") | ||||||
|  |         .sort(); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| export function getInputAsInt( | export function getInputAsInt( | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Aaron Bernard
						Aaron Bernard