Skip to content

Commit d7777fd

Browse files
authored
fix summaries for actions results (actions#3174)
* fix summaries for actions results * remove negative
1 parent d8bce88 commit d7777fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Runner.Worker/FileCommandManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ public void ProcessCommand(IExecutionContext context, string filePath, Container
244244
if (resultsReceiverEndpoint != null)
245245
{
246246
Trace.Info($"Queueing results file ({filePath}) for attachment upload ({attachmentName})");
247-
var stepId = context.Id;
247+
var stepId = context.IsEmbedded ? context.EmbeddedId : context.Id;
248248
// Attachments must be added to the parent context (job), not the current context (step)
249249
context.Root.QueueSummaryFile(attachmentName, scrubbedFilePath, stepId);
250250
}

0 commit comments

Comments
 (0)