Fix using: node12 handling (#243)

Co-authored-by: Casey Lee <cplee@nektos.com>
This commit is contained in:
Josh Soref 2020-05-18 17:31:09 -04:00 committed by GitHub
parent 2bb9906425
commit 5c850b5ba8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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, actionPath, action.Runs.Main)}, sc.Env)(ctx)
case model.ActionRunsUsingDocker:
var prepImage common.Executor
var image string