From 9ec704744117868c967fedb9ca28dcffcaf994bb Mon Sep 17 00:00:00 2001 From: Ethan Chiu Date: Tue, 23 Jun 2020 12:20:39 -0400 Subject: [PATCH] Change 0 to location --- src/Runner.Worker/ExecutionContext.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Runner.Worker/ExecutionContext.cs b/src/Runner.Worker/ExecutionContext.cs index 67ef66cb7..cea1e2fd4 100644 --- a/src/Runner.Worker/ExecutionContext.cs +++ b/src/Runner.Worker/ExecutionContext.cs @@ -277,7 +277,7 @@ namespace GitHub.Runner.Worker step.ExecutionContext = Root.CreateChild(newGuid, step.DisplayName, newGuid.ToString("N"), null, null); step.ExecutionContext.ExpressionValues["inputs"] = inputsData; // 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 intraActionState = null, int? recordOrder = null)