From e2bafea9de8b0b91c9de3ad3117b0b867cd321d2 Mon Sep 17 00:00:00 2001 From: Francesco Renzi Date: Thu, 22 Jan 2026 12:44:29 +0000 Subject: [PATCH] step references --- src/Runner.Worker/Dap/StepCommands/StepFactory.cs | 2 ++ 1 file changed, 2 insertions(+) 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