GitHubActionsRunnerInfo.

Architecture Property

Summary

Gets the runner architecture of the runner executing the job.

Syntax

public GitHubActionsArchitecture Architecture { get; }

Examples

if (BuildSystem.GitHubActions.IsRunningOnGitHubActions)
{
    Information(@"Runner Architecture: {0}", BuildSystem.GitHubActions.Environment.Runner.Architecture);
}
if (GitHubActions.IsRunningOnGitHubActions)
{
    Information(@"Runner Architecture: {0}", GitHubActions.Environment.Runner.Architecture);
}

Value

Type Description
GitHubActionsArchitecture The runner architecture of the runner executing the job. Possible values are X86, X64, ARM, and ARM64.