Class GitHubContextsRunnerContext
- Namespace
- Invex.StructuredText.GithubActions
- Assembly
- Invex.StructuredText.GithubActions.dll
The runner context. Information about the runner executing the current job.
public sealed record GitHubContextsRunnerContext : JsonExpr, IContextPath
- Inheritance
-
objectGitHubContextsRunnerContext
- Implements
- Inherited Members
Constructors
GitHubContextsRunnerContext()
public GitHubContextsRunnerContext()
Properties
Arch
runner.arch: The architecture of the runner: X86, X64, ARM or ARM64.
public StringExpr Arch { get; }
Property Value
Children
The direct sub-expressions of this node, in left-to-right order.
public override IEnumerable<Expr> Children { get; }
Property Value
- IEnumerable<Expr>
Debug
runner.debug: Set to 1 when debug logging is enabled.
public StringExpr Debug { get; }
Property Value
Environment
runner.environment: The environment of the runner: github-hosted or self-hosted.
public StringExpr Environment { get; }
Property Value
Name
runner.name: The name of the runner executing the job.
public StringExpr Name { get; }
Property Value
Os
runner.os: The operating system of the runner: Linux, Windows or macOS.
public StringExpr Os { get; }
Property Value
Temp
runner.temp: The path to a temporary directory on the runner.
public StringExpr Temp { get; }
Property Value
ToolCache
runner.tool_cache: The path to the directory containing preinstalled tools.
public StringExpr ToolCache { get; }