remove job summary feature flag (#1936)

This commit is contained in:
Rob Herley
2022-06-09 15:49:04 -04:00
committed by GitHub
parent a9ce6b92c4
commit b2e2aa68c8
2 changed files with 1 additions and 25 deletions

View File

@@ -275,12 +275,6 @@ namespace GitHub.Runner.Worker
public void ProcessCommand(IExecutionContext context, string filePath, ContainerInfo container)
{
if (!context.Global.Variables.GetBoolean("DistributedTask.UploadStepSummary") ?? true)
{
Trace.Info("Step Summary is disabled; skipping attachment upload");
return;
}
if (String.IsNullOrEmpty(filePath) || !File.Exists(filePath))
{
Trace.Info($"Step Summary file ({filePath}) does not exist; skipping attachment upload");