aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-07-02 19:53:13 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-07-02 19:54:34 +0300
commitd2ce2cd71507893c6f0acf837d0b9cab1f3747d4 (patch)
tree28ca01af380bd246c51b58783a0cf3f870ddc066 /.github
parentREADME: update (diff)
downloadsetup-gcc-d2ce2cd71507893c6f0acf837d0b9cab1f3747d4.tar.gz
setup-gcc-d2ce2cd71507893c6f0acf837d0b9cab1f3747d4.zip
actions/run-foo: print actual output
Diffstat (limited to '')
-rw-r--r--.github/actions/run-foo/action.yml12
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