Fix using: node12 handling (#243)

Co-authored-by: Casey Lee <cplee@nektos.com>
Esse commit está contido em:
Josh Soref
2020-05-18 17:31:09 -04:00
commit de GitHub
commit 5c850b5ba8

Ver Arquivo

@@ -270,8 +270,9 @@ func (sc *StepContext) runAction(actionDir string, actionPath string) common.Exe
if err != nil { if err != nil {
return err 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: case model.ActionRunsUsingDocker:
var prepImage common.Executor var prepImage common.Executor
var image string var image string