act/actions/testdata/pipe.workflow

13 lines
210 B
Text
Raw Normal View History

2019-01-31 01:53:39 -06:00
workflow "test" {
on = "push"
resolves = ["test-action"]
}
action "test-action" {
uses = "docker://alpine:3.9"
runs = ["sh", "-c", "echo $IN | grep $OUT"]
env = {
IN = "foo"
OUT = "foo"
}
}