Skip to content

Commit

Permalink
Add arch to runner context
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyd2019 authored Sep 24, 2021
1 parent da79ef4 commit 63faaed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Runner.Worker/JobRunner.cs
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ public async Task<TaskResult> RunAsync(Pipelines.AgentJobRequestMessage message,
}

jobContext.SetRunnerContext("os", VarUtil.OS);
jobContext.SetRunnerContext("arch", VarUtil.OSArchitecture);

var runnerSettings = HostContext.GetService<IConfigurationStore>().GetSettings();
jobContext.SetRunnerContext("name", runnerSettings.AgentName);
Expand Down

0 comments on commit 63faaed

Please sign in to comment.