mirror of
https://github.com/actions/runner.git
synced 2025-12-11 12:57:05 +00:00
Change 0 to location
This commit is contained in:
@@ -277,7 +277,7 @@ namespace GitHub.Runner.Worker
|
|||||||
step.ExecutionContext = Root.CreateChild(newGuid, step.DisplayName, newGuid.ToString("N"), null, null);
|
step.ExecutionContext = Root.CreateChild(newGuid, step.DisplayName, newGuid.ToString("N"), null, null);
|
||||||
step.ExecutionContext.ExpressionValues["inputs"] = inputsData;
|
step.ExecutionContext.ExpressionValues["inputs"] = inputsData;
|
||||||
// TODO: confirm whether not copying message contexts is safe
|
// TODO: confirm whether not copying message contexts is safe
|
||||||
Root.JobSteps.Insert(0, step);
|
Root.JobSteps.Insert(location, step);
|
||||||
}
|
}
|
||||||
|
|
||||||
public IExecutionContext CreateChild(Guid recordId, string displayName, string refName, string scopeName, string contextName, Dictionary<string, string> intraActionState = null, int? recordOrder = null)
|
public IExecutionContext CreateChild(Guid recordId, string displayName, string refName, string scopeName, string contextName, Dictionary<string, string> intraActionState = null, int? recordOrder = null)
|
||||||
|
|||||||
Reference in New Issue
Block a user