fix #134 - support 'env' context in steps

This commit is contained in:
Casey Lee
2020-03-06 13:39:01 -08:00
parent 4fde7d8865
commit 87392c2ed7
4 changed files with 14 additions and 4 deletions

View File

@@ -193,6 +193,8 @@ func (rc *RunContext) newStepExecutor(step *model.Step) common.Executor {
Success: true,
Outputs: make(map[string]string),
}
sc.setupEnv()(ctx)
rc.ExprEval = sc.NewExpressionEvaluator()
if !rc.EvalBool(sc.Step.If) {