diff options
Diffstat (limited to '.github/actions')
-rw-r--r-- | .github/actions/run-foo/action.yml | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/.github/actions/run-foo/action.yml b/.github/actions/run-foo/action.yml index 9e53df5..3167545 100644 --- a/.github/actions/run-foo/action.yml +++ b/.github/actions/run-foo/action.yml @@ -13,8 +13,14 @@ runs: $actual = & (Join-Path . foo) $actual = $actual -join [Environment]::NewLine - $($actual -eq $expected) -or $(throw @" - Unexpected output: + echo @" + Expected output: + $expected + "@ + echo @" + Actual output: $actual - "@) + "@ + + $($actual -eq $expected) -or $(throw "Unexpected output!") shell: pwsh |