Free up memory from step level outputs in composite action (#641)

This commit is contained in:
Ethan Chiu
2020-08-10 14:31:30 -04:00
committed by GitHub
parent 562eafab3a
commit 976217d6ec
3 changed files with 216 additions and 183 deletions

View File

@@ -90,6 +90,8 @@ namespace GitHub.Runner.Worker.Handlers
ExecutionContext.ExpressionValues["steps"] = ExecutionContext.Global.StepsContext.GetScope(ExecutionContext.GetFullyQualifiedContextName());
ProcessCompositeActionOutputs();
ExecutionContext.Global.StepsContext.ClearScope(ExecutionContext.GetFullyQualifiedContextName());
}
catch (Exception ex)
{