mirror of
https://github.com/actions/runner.git
synced 2026-01-23 13:01:14 +08:00
step references
This commit is contained in:
@@ -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.<id>.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.<id>.outputs, etc.)
|
||||
DisplayName = name ?? actionReference,
|
||||
Condition = condition ?? "success()",
|
||||
Enabled = true
|
||||
|
||||
Reference in New Issue
Block a user