From 9da572d5b072ab13b3f4d20b4cefbea66a0fe6ce Mon Sep 17 00:00:00 2001 From: zc Date: Wed, 13 Mar 2024 20:13:01 +0800 Subject: [PATCH] fix worker env miss --- core/worker/worker.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/worker/worker.go b/core/worker/worker.go index 577ee43..ee7587a 100644 --- a/core/worker/worker.go +++ b/core/worker/worker.go @@ -228,6 +228,9 @@ func execute( for _, step := range status.Steps { stepSpec := spec.GetStep(step.Name) + if stepSpec != nil { + stepSpec.Env = stepSpec.CombineEnv(settings) + } stepLog := log.With( "step_id", step.ID,