fix #7 - allow passing a custom event.json to be populated in the container filesystem
This commit is contained in:
2
example/.github/main.workflow
vendored
2
example/.github/main.workflow
vendored
@@ -16,6 +16,6 @@ action "test" {
|
||||
|
||||
action "deploy" {
|
||||
uses = "./action2"
|
||||
args = "echo 'deploy'"
|
||||
runs = ["/bin/sh", "-c", "cat $GITHUB_EVENT_PATH"]
|
||||
needs = ["test"]
|
||||
}
|
3
example/event.json
Normal file
3
example/event.json
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"foo": "bar"
|
||||
}
|
Reference in New Issue
Block a user