Render correct graph for non-default events

This commit is contained in:
Aidan Steele
2019-04-08 21:01:49 +10:00
parent 449c899973
commit 589ff16271
3 changed files with 40 additions and 2 deletions

19
actions/testdata/multi.workflow vendored Normal file
View File

@@ -0,0 +1,19 @@
workflow "buildwf" {
on = "push"
resolves = ["build"]
}
action "build" {
uses = "./action1"
args = "echo 'build'"
}
workflow "deploywf" {
on = "release"
resolves = ["deploy"]
}
action "deploy" {
uses = "./action2"
runs = ["/bin/sh", "-c", "cat $GITHUB_EVENT_PATH"]
}