mirror of
https://github.com/shivammathur/setup-php.git
synced 2026-02-14 14:56:38 +07:00
Fail fast on composer setup failure
This commit is contained in:
@@ -402,6 +402,9 @@ Function Add-Tool() {
|
||||
$tool_version = Get-ToolVersion $tool $ver_param
|
||||
Add-Log $tick $tool "Added $tool $tool_version"
|
||||
} else {
|
||||
if($tool -eq "composer") {
|
||||
$env:fail_fast = 'true'
|
||||
}
|
||||
Add-Log $cross $tool "Could not add $tool"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user