Skip to content

Commit

Permalink
Use the actual determined OS value
Browse files Browse the repository at this point in the history
  • Loading branch information
kzu committed Jul 7, 2024
1 parent c6cb9a4 commit 1e2a9a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dotnet-trx/TrxCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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})");
Expand Down

0 comments on commit 1e2a9a5

Please sign in to comment.