From 07cda747b2c26fcc2b08ac65b27e51f464e6ed43 Mon Sep 17 00:00:00 2001 From: Brian Cristante <33549821+brcrista@users.noreply.github.com> Date: Thu, 14 Oct 2021 13:59:34 -0400 Subject: [PATCH] Create a new step host for each sub-step --- src/Runner.Worker/Handlers/MakefileHandler.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Runner.Worker/Handlers/MakefileHandler.cs b/src/Runner.Worker/Handlers/MakefileHandler.cs index 9e1c857e3..59608e2cf 100644 --- a/src/Runner.Worker/Handlers/MakefileHandler.cs +++ b/src/Runner.Worker/Handlers/MakefileHandler.cs @@ -47,7 +47,7 @@ namespace GitHub.Runner.Worker.Handlers handler.Environment = Environment; handler.RuntimeVariables = RuntimeVariables; handler.ExecutionContext = ExecutionContext; - handler.StepHost = StepHost; + handler.StepHost = HostContext.CreateService();; handler.Inputs = new Dictionary { ["script"] = $"make {target}"