mirror of
				https://github.com/shivammathur/setup-php.git
				synced 2025-10-31 07:16:22 +07:00 
			
		
		
		
	Fix composer version
This commit is contained in:
		
							
								
								
									
										6
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							| @ -2023,8 +2023,10 @@ function addTools(tools_csv, php_version, os_version) { | ||||
|                         script += yield addArchive(tool, version, url, os_version); | ||||
|                         break; | ||||
|                     case 'composer': | ||||
|                         url = | ||||
|                             github + 'composer/composer/releases/latest/download/composer.phar'; | ||||
|                         // If RC is released as latest release, switch to getcomposer. | ||||
|                         // Prefered source is GitHub as it is faster. | ||||
|                         // url = github + 'composer/composer/releases/latest/download/composer.phar'; | ||||
|                         url = 'https://getcomposer.org/composer-stable.phar'; | ||||
|                         script += yield addArchive(tool, version, url, os_version); | ||||
|                         break; | ||||
|                     case 'codeception': | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Shivam Mathur
					Shivam Mathur