mirror of
https://github.com/shivammathur/setup-php.git
synced 2025-07-22 23:03:28 +07:00
Add flag to skip checksum if it fails
This commit is contained in:
@ -53,6 +53,7 @@ catch {
|
|||||||
try {
|
try {
|
||||||
Update-PhpCAInfo -Path $php_dir -Source Curl
|
Update-PhpCAInfo -Path $php_dir -Source Curl
|
||||||
} catch {
|
} catch {
|
||||||
|
Update-PhpCAInfo -Path $php_dir -Source Curl -SkipChecksumCheck
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ([Version]$installed.Version -ge '7.4') {
|
if ([Version]$installed.Version -ge '7.4') {
|
||||||
|
Reference in New Issue
Block a user