From 2df2727f1a6b9ef507e46358c5d0c67546f596e2 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Mon, 18 May 2020 17:31:09 -0400 Subject: [PATCH] Fix using: node12 handling (#243) Co-authored-by: Casey Lee --- act/runner/step_context.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/act/runner/step_context.go b/act/runner/step_context.go index 3da774e2..1ec5fb0f 100644 --- a/act/runner/step_context.go +++ b/act/runner/step_context.go @@ -270,8 +270,9 @@ func (sc *StepContext) runAction(actionDir string, actionPath string) common.Exe if err != nil { return err } + return rc.execJobContainer([]string{"node", filepath.Join(containerActionDir, actionName, actionPath, action.Runs.Main)}, sc.Env)(ctx) } - return rc.execJobContainer([]string{"node", filepath.Join(containerActionDir, actionName, actionPath, action.Runs.Main)}, sc.Env)(ctx) + return rc.execJobContainer([]string{"node", filepath.Join(containerActionDir, actionPath, action.Runs.Main)}, sc.Env)(ctx) case model.ActionRunsUsingDocker: var prepImage common.Executor var image string