From 1a6dfd0823ba8a747257914b06c55921b6c1123b Mon Sep 17 00:00:00 2001 From: Ryan Troost Date: Tue, 27 Feb 2024 15:22:26 -0500 Subject: [PATCH] fix summaries for actions results (#3174) * fix summaries for actions results * remove negative --- src/Runner.Worker/FileCommandManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Runner.Worker/FileCommandManager.cs b/src/Runner.Worker/FileCommandManager.cs index b03c3189003..0021aa527a3 100644 --- a/src/Runner.Worker/FileCommandManager.cs +++ b/src/Runner.Worker/FileCommandManager.cs @@ -244,7 +244,7 @@ public void ProcessCommand(IExecutionContext context, string filePath, Container if (resultsReceiverEndpoint != null) { Trace.Info($"Queueing results file ({filePath}) for attachment upload ({attachmentName})"); - var stepId = context.Id; + var stepId = context.IsEmbedded ? context.EmbeddedId : context.Id; // Attachments must be added to the parent context (job), not the current context (step) context.Root.QueueSummaryFile(attachmentName, scrubbedFilePath, stepId); }