mirror of
https://gitea.com/gitea/runner.git
synced 2026-11-08 16:20:29 +00:00
fix #134 - support 'env' context in steps
This commit is contained in:
4 files changed
+14
-4
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user