fix for issue #2009 - composite summary file (#2077)

This commit is contained in:
Stefan Ruvceski
2022-09-12 20:51:36 +02:00
committed by GitHub
parent ed191b78ae
commit 6e6410d300

View File

@@ -312,7 +312,9 @@ namespace GitHub.Runner.Worker
}
}
var attachmentName = context.Id.ToString();
var attachmentName = !context.IsEmbedded
? context.Id.ToString()
: context.EmbeddedId.ToString();
Trace.Info($"Queueing file ({filePath}) for attachment upload ({attachmentName})");
// Attachments must be added to the parent context (job), not the current context (step)