Skip to content

Commit

Permalink
Send os and arch during registration
Browse files Browse the repository at this point in the history
  • Loading branch information
luketomlinson committed Oct 5, 2023
1 parent f57ecd8 commit bf2684c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Runner.Common/RunnerDotcomServer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
using System.Threading.Tasks;
using GitHub.Services.WebApi;
using GitHub.Services.Common;
using GitHub.Runner.Common.Util;
using GitHub.Runner.Sdk;
using System.Net.Http;
using System.Net.Http.Headers;
Expand Down Expand Up @@ -163,6 +164,8 @@ public async Task<List<TaskAgentPool>> GetRunnerGroupsAsync(string githubUrl, st
{"ephemeral", agent.Ephemeral},
{"labels", agent.Labels},
{"public_key", publicKey},
{"os", VarUtil.OS},
{"arch", VarUtil.OSArchitecture},
};

if (replace)
Expand Down

0 comments on commit bf2684c

Please sign in to comment.