Skip to content

Commit

Permalink
fix summaries for actions results (#3174)
Browse files Browse the repository at this point in the history
* fix summaries for actions results

* remove negative
  • Loading branch information
SrRyan authored and TingluoHuang committed Feb 27, 2024
1 parent bc79e85 commit 1a6dfd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Runner.Worker/FileCommandManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 1a6dfd0

Please sign in to comment.