From 5c850b5ba8471574fa02b0a47cca88720c060891 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 --- pkg/runner/step_context.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/runner/step_context.go b/pkg/runner/step_context.go index 3da774e..1ec5fb0 100644 --- a/pkg/runner/step_context.go +++ b/pkg/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