mirror of
https://github.com/shivammathur/setup-php.git
synced 2025-08-19 12:04:43 +07:00
Filter shared extensions to enable on Windows
This commit is contained in:
@ -447,7 +447,7 @@ if($version -lt "5.5") {
|
||||
} else {
|
||||
$enable_extensions += ('opcache')
|
||||
}
|
||||
Enable-PhpExtension -Extension $enable_extensions -Path $php_dir
|
||||
Enable-PhpExtension -Extension ($enable_extensions | Where-Object { Test-Path $ext_dir\php_$_.dll }) -Path $php_dir
|
||||
Add-PhpCAInfo
|
||||
Add-OpenSSLConf
|
||||
Copy-Item -Path $src\configs\pm\*.json -Destination $env:RUNNER_TOOL_CACHE
|
||||
|
Reference in New Issue
Block a user