Skip to content

Commit

Permalink
GitHub actions summary output fix (#6272)
Browse files Browse the repository at this point in the history
* Fix multi-line output in `DotNet.GitHubAction`

* Update Program.cs
  • Loading branch information
erichiller authored Oct 30, 2023
1 parent 76a469e commit 6d83421
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,9 @@ await File.WriteAllTextAsync(
{
textWriter.WriteLine($"updated-metrics={updatedMetrics}");
textWriter.WriteLine($"summary-title={title}");
textWriter.WriteLine($"summary-details={summary}");
textWriter.WriteLine("summary-details<<EOF");
textWriter.WriteLine(summary);
textWriter.WriteLine("EOF");
}
}
else
Expand Down

0 comments on commit 6d83421

Please sign in to comment.