diff --git a/pkg/runner/step_context.go b/pkg/runner/step_context.go index 7c30c67..bfa9b0d 100644 --- a/pkg/runner/step_context.go +++ b/pkg/runner/step_context.go @@ -257,6 +257,8 @@ func (sc *StepContext) runAction(actionDir string, actionPath string) common.Exe actionName = filepath.Base(actionDir) } + sc.Env = mergeMaps(sc.Env, action.Runs.Env) + log.Debugf("type=%v actionDir=%s Workdir=%s ActionCacheDir=%s actionName=%s containerActionDir=%s", step.Type(), actionDir, rc.Config.Workdir, rc.ActionCacheDir(), actionName, containerActionDir) switch action.Runs.Using {