Skip to content

Commit

Permalink
fix worker env miss
Browse files Browse the repository at this point in the history
  • Loading branch information
zc2638 committed Mar 13, 2024
1 parent 79a22fa commit 9da572d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/worker/worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 9da572d

Please sign in to comment.