feat: add json logger output (#1026)

* feat: add json logger output

This will allow to format log output as json.
This is helpful in cases where act is not executed on a 'local' machine.

* refactor: use runner config

Using the runner config to configure logging is cleaner.

Co-authored-by: Casey Lee <[email protected]>
This commit is contained in:
Markus WolfandCasey Lee authored and GitHub committed 2022-03-14 15:33:11 +00:00
1 parent 7d403b8307
commit 14c98015c5
5 files changed
+70 -31

No files matched your search

+1
View File
@@ -38,6 +38,7 @@ type Input struct {
autoRemove bool
artifactServerPath string
artifactServerPort string
jsonLogger bool
}
func (i *Input) resolve(path string) string {