From 1e2a9a520b31f62724904f8da4d938a0f1c10fb3 Mon Sep 17 00:00:00 2001 From: Daniel Cazzulino Date: Sun, 7 Jul 2024 18:29:32 -0300 Subject: [PATCH] Use the actual determined OS value --- src/dotnet-trx/TrxCommand.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dotnet-trx/TrxCommand.cs b/src/dotnet-trx/TrxCommand.cs index 36c116a..2f02590 100644 --- a/src/dotnet-trx/TrxCommand.cs +++ b/src/dotnet-trx/TrxCommand.cs @@ -256,7 +256,7 @@ static void GitHubReport(Summary summary, StringBuilder details) os = $"macOS {Environment.OSVersion.VersionString}"; sb.AppendLine( - $"from [dotnet-trx](https://github.com/devlooped/dotnet-trx) with [:purple_heart:](https://github.com/sponsors/devlooped) via {RuntimeInformation.FrameworkDescription} on {RuntimeInformation.OSDescription}"); + $"from [dotnet-trx](https://github.com/devlooped/dotnet-trx) with [:purple_heart:](https://github.com/sponsors/devlooped) via {RuntimeInformation.FrameworkDescription} on {os}"); if (TryExecute("gh", $"pr comment {pr} --body-file -", sb.ToString(), out var link)) WriteLine($"::notice title=Added summary as [pull-request comment]({link})");