mirror of
https://github.com/actions/python-versions.git
synced 2025-04-05 06:49:39 +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 }}";
|
||||
Platform="${{ matrix.platform }}";
|
||||
}
|
||||
Invoke-Pester -Container $pesterContainer -PassThru
|
||||
$Result = Invoke-Pester -Container $pesterContainer -PassThru
|
||||
if ($Result.FailedCount -gt 0) {
|
||||
$host.SetShouldExit($Result.FailedCount)
|
||||
exit $Result.FailedCount
|
||||
|
Reference in New Issue
Block a user