Render correct graph for non-default events
This commit is contained in:
19
actions/testdata/multi.workflow
vendored
Normal file
19
actions/testdata/multi.workflow
vendored
Normal 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"]
|
||||
}
|
Reference in New Issue
Block a user