mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-22 20:01:06 +07:00
Add flag to skip checksum if it fails
This commit is contained in:
parent
4dba50d3af
commit
929f9cd52d
@ -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') {
|
||||||
|
Loading…
Reference in New Issue
Block a user