Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/dotnet-trx/TrxCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,8 @@ static void GitHubReport(TrxSettings settings, Summary summary, StringBuilder de

// Some day, it might just show-up and we'd be forwards compatible.
// See https://github.com/orgs/community/discussions/129314 and https://github.com/actions/runner/issues/324
var jobId = Environment.GetEnvironmentVariable("GITHUB_JOB_ID");
// Pending PR that introduces this envvar: https://github.com/actions/runner/pull/4053
var jobId = Environment.GetEnvironmentVariable("JOB_CHECK_RUN_ID");

// Provide a mechanism that would work on matrix in the meantime
if (Environment.GetEnvironmentVariable("GH_JOB_NAME") is { Length: > 0 } ghJobName)
Expand Down
Loading