Add patch to update ca-certificates on windows-2016
This commit is contained in:
parent
17ef667e04
commit
d7c3e33a96
1 changed files with 6 additions and 0 deletions
|
|
@ -562,6 +562,12 @@ if($version -lt "5.5") {
|
||||||
} else {
|
} else {
|
||||||
$enable_extensions += ('opcache')
|
$enable_extensions += ('opcache')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Remove patch once root certificates are updated on image.
|
||||||
|
if($env:ImageOS -eq 'win16') {
|
||||||
|
$cert_source = 'Curl'
|
||||||
|
}
|
||||||
|
|
||||||
Enable-PhpExtension -Extension $enable_extensions -Path $php_dir
|
Enable-PhpExtension -Extension $enable_extensions -Path $php_dir
|
||||||
Update-PhpCAInfo -Path $php_dir -Source $cert_source
|
Update-PhpCAInfo -Path $php_dir -Source $cert_source
|
||||||
Copy-Item -Path $dist\..\src\configs\*.json -Destination $env:RUNNER_TOOL_CACHE
|
Copy-Item -Path $dist\..\src\configs\*.json -Destination $env:RUNNER_TOOL_CACHE
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue