blob: 9e53df5f883adf580cecb4001a6de9b74994da1c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
name: Run foo.exe
description: Run foo.exe and verify its output
runs:
using: composite
steps:
- run: |
$expected = @"
Doing something #1
Doing something #2
Doing something #3
"@
$actual = & (Join-Path . foo)
$actual = $actual -join [Environment]::NewLine
$($actual -eq $expected) -or $(throw @"
Unexpected output:
$actual
"@)
shell: pwsh
|