mirror of
				https://github.com/shivammathur/setup-php.git
				synced 2025-10-31 23:36:21 +07:00 
			
		
		
		
	Add highest alias as an alternative to latest
This commit is contained in:
		
							
								
								
									
										2
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							| @ -1156,7 +1156,7 @@ async function getManifestURL() { | ||||
| exports.getManifestURL = getManifestURL; | ||||
| async function parseVersion(version) { | ||||
|     switch (true) { | ||||
|         case /^(latest|lowest|nightly|\d+\.x)$/.test(version): | ||||
|         case /^(latest|lowest|highest|nightly|\d+\.x)$/.test(version): | ||||
|             return JSON.parse((await fetch.fetch(await getManifestURL()))['data'])[version]; | ||||
|         default: | ||||
|             switch (true) { | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Shivam Mathur
					Shivam Mathur