diff --git a/src/Runner.Worker/Dap/StepCommands/StepFactory.cs b/src/Runner.Worker/Dap/StepCommands/StepFactory.cs index 149094ba9..f96a01c62 100644 --- a/src/Runner.Worker/Dap/StepCommands/StepFactory.cs +++ b/src/Runner.Worker/Dap/StepCommands/StepFactory.cs @@ -155,6 +155,7 @@ namespace GitHub.Runner.Worker.Dap.StepCommands { Id = stepId, Name = id ?? $"_dynamic_{stepId:N}", + ContextName = id, // Required for step to appear in steps context (steps..outputs, etc.) DisplayName = name ?? "Run script", Reference = new ScriptReference(), Condition = condition ?? "success()", @@ -208,6 +209,7 @@ namespace GitHub.Runner.Worker.Dap.StepCommands { Id = stepId, Name = id ?? $"_dynamic_{stepId:N}", + ContextName = id, // Required for step to appear in steps context (steps..outputs, etc.) DisplayName = name ?? actionReference, Condition = condition ?? "success()", Enabled = true