mirror of
				https://github.com/shivammathur/setup-php.git
				synced 2025-10-31 07:16:22 +07:00 
			
		
		
		
	Fix to use correct $php_dir
This commit is contained in:
		| @ -11,7 +11,8 @@ Param ( | ||||
|  | ||||
| $tick = ([char]8730) | ||||
| $php_dir = 'C:\tools\php' | ||||
| $ext_dir = $php_dir + '\ext' | ||||
| if($env:RUNNER -eq 'self-hosted') { $php_dir = "$php_dir$version" } | ||||
| $ext_dir = "$php_dir\ext" | ||||
| $arch='x64' | ||||
| if ($version -lt '7.0') { $arch='x86' } | ||||
| $version = $version.replace('.', '') | ||||
|  | ||||
| @ -31,7 +31,8 @@ Function Install-Phalcon() { | ||||
| $tick = ([char]8730) | ||||
| $domain = 'https://github.com' | ||||
| $php_dir = 'C:\tools\php' | ||||
| $ext_dir = $php_dir + '\ext' | ||||
| if($env:RUNNER -eq 'self-hosted') { $php_dir = "$php_dir$version" } | ||||
| $ext_dir = "$php_dir\ext" | ||||
| $extension_version = $extension.substring($extension.Length - 1) | ||||
|  | ||||
| if($extension_version -eq '4') { | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Shivam Mathur
					Shivam Mathur