Skip to content

Commit

Permalink
Add patch to update ca-certificates on windows-2016
Browse files Browse the repository at this point in the history
  • Loading branch information
shivammathur committed Oct 4, 2021
1 parent 17ef667 commit d7c3e33
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/scripts/win32.ps1
Expand Up @@ -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
Expand Down

0 comments on commit d7c3e33

Please sign in to comment.