mirror of
https://github.com/actions/python-versions.git
synced 2025-04-06 07:19:41 +00:00
assign results to a var
This commit is contained in:
committed by
Mikhail Koliada
parent
811f1bc41a
commit
135879dbe3
2
.github/workflows/python-builder.yml
vendored
2
.github/workflows/python-builder.yml
vendored
@ -152,7 +152,7 @@ jobs:
|
|||||||
Version="${{ env.VERSION }}";
|
Version="${{ env.VERSION }}";
|
||||||
Platform="${{ matrix.platform }}";
|
Platform="${{ matrix.platform }}";
|
||||||
}
|
}
|
||||||
Invoke-Pester -Container $pesterContainer -PassThru
|
$Result = Invoke-Pester -Container $pesterContainer -PassThru
|
||||||
if ($Result.FailedCount -gt 0) {
|
if ($Result.FailedCount -gt 0) {
|
||||||
$host.SetShouldExit($Result.FailedCount)
|
$host.SetShouldExit($Result.FailedCount)
|
||||||
exit $Result.FailedCount
|
exit $Result.FailedCount
|
||||||
|
Reference in New Issue
Block a user