Fix exit log on self-hosted

This commit is contained in:
Shivam Mathur
2020-06-07 02:41:28 +05:30
parent 7cec1987ac
commit c09954033f
3 changed files with 16 additions and 13 deletions

View File

@ -308,7 +308,7 @@ if($env:RUNNER -eq 'self-hosted') {
}
if($version -lt 5.6) {
Add-Log $cross "PHP" "PHP $version is not supported on self-hosted runner"
Start-Sleep 3
Start-Sleep 1
exit 1
}
if ((Get-InstalledModule).Name -notcontains 'VcRedist') {