mirror of
				https://github.com/actions/cache.git
				synced 2025-10-31 11:48:38 +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) | ||||
|         .split("\n") | ||||
|         .map(s => s.replace(/^!\s+/, "!").trim()) | ||||
|         .filter(x => x !== ""); | ||||
|         .filter(x => x !== "") | ||||
|         .sort(); | ||||
| } | ||||
| 
 | ||||
| export function getInputAsInt( | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Aaron Bernard
						Aaron Bernard