From 73271539cf1ca1903f0f272067d95928c4b7abf1 Mon Sep 17 00:00:00 2001 From: eric sciple Date: Mon, 14 Sep 2020 12:00:00 -0400 Subject: [PATCH] fix bug w checkout v1 updating GITHUB_WORKSPACE (#704) --- src/Runner.Worker/StepsRunner.cs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/Runner.Worker/StepsRunner.cs b/src/Runner.Worker/StepsRunner.cs index c0ab4f339..58845206b 100644 --- a/src/Runner.Worker/StepsRunner.cs +++ b/src/Runner.Worker/StepsRunner.cs @@ -103,12 +103,6 @@ namespace GitHub.Runner.Worker bool evaluateStepEnvFailed = false; if (step is IActionRunner actionStep) { - // Shallow copy github context - var gitHubContext = step.ExecutionContext.ExpressionValues["github"] as GitHubContext; - ArgUtil.NotNull(gitHubContext, nameof(gitHubContext)); - gitHubContext = gitHubContext.ShallowCopy(); - step.ExecutionContext.ExpressionValues["github"] = gitHubContext; - // Set GITHUB_ACTION step.ExecutionContext.SetGitHubContext("action", actionStep.Action.Name);