Revert "Add patch to update ca-certificates on windows-2016"

This reverts commit d7c3e33a96.
This commit is contained in:
Shivam Mathur 2021-10-14 21:00:58 +05:30
parent 9b92c9db92
commit b4593b7df0
No known key found for this signature in database
GPG Key ID: 3E13E4C8591ACC2A

View File

@ -562,12 +562,6 @@ 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