mirror of
https://github.com/shivammathur/setup-php.git
synced 2025-07-30 18:27:46 +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('.', '')
|
||||
|
Reference in New Issue
Block a user