mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2025-08-11 17:50:58 +00:00
parent
68e74447c3
commit
12c0f8eb8e
3 changed files with 35 additions and 10 deletions
|
@ -183,7 +183,7 @@ func setupEnv(ctx context.Context, step step) error {
|
|||
(*step.getEnv())[k] = exprEval.Interpolate(ctx, v)
|
||||
}
|
||||
}
|
||||
// after we have an evaluated step context, update the expresson evaluator with a new env context
|
||||
// after we have an evaluated step context, update the expressions evaluator with a new env context
|
||||
// you can use step level env in the with property of a uses construct
|
||||
exprEval = rc.NewExpressionEvaluatorWithEnv(ctx, *step.getEnv())
|
||||
for k, v := range *step.getEnv() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue