Add patch to update ca-certificates on windows-2016

This commit is contained in:
Shivam Mathur 2021-10-04 19:41:33 +05:30
parent 17ef667e04
commit d7c3e33a96
No known key found for this signature in database
GPG Key ID: 3E13E4C8591ACC2A

View File

@ -562,6 +562,12 @@ if($version -lt "5.5") {
} else {
$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
Update-PhpCAInfo -Path $php_dir -Source $cert_source
Copy-Item -Path $dist\..\src\configs\*.json -Destination $env:RUNNER_TOOL_CACHE