Table of Contents

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
object
GitHubContextsRunnerContext
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

StringExpr

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

StringExpr

Environment

runner.environment: The environment of the runner: github-hosted or self-hosted.

public StringExpr Environment { get; }

Property Value

StringExpr

Name

runner.name: The name of the runner executing the job.

public StringExpr Name { get; }

Property Value

StringExpr

Os

runner.os: The operating system of the runner: Linux, Windows or macOS.

public StringExpr Os { get; }

Property Value

StringExpr

Temp

runner.temp: The path to a temporary directory on the runner.

public StringExpr Temp { get; }

Property Value

StringExpr

ToolCache

runner.tool_cache: The path to the directory containing preinstalled tools.

public StringExpr ToolCache { get; }

Property Value

StringExpr