Table of Contents

Class GitHubContextsStrategyContext

Namespace
Invex.StructuredText.GithubActions
Assembly
Invex.StructuredText.GithubActions.dll

The strategy context. Information about the matrix execution strategy for the current job.

public sealed record GitHubContextsStrategyContext : JsonExpr, IContextPath
Inheritance
object
GitHubContextsStrategyContext
Implements
Inherited Members

Constructors

GitHubContextsStrategyContext()

public GitHubContextsStrategyContext()

Properties

Children

The direct sub-expressions of this node, in left-to-right order.

public override IEnumerable<Expr> Children { get; }

Property Value

IEnumerable<Expr>

FailFast

strategy.fail-fast: Whether all in-progress jobs are cancelled if any job in the matrix fails.

public BoolExpr FailFast { get; }

Property Value

BoolExpr

JobIndex

strategy.job-index: The index of the current job in the matrix.

public NumberExpr JobIndex { get; }

Property Value

NumberExpr

JobTotal

strategy.job-total: The total number of jobs in the matrix.

public NumberExpr JobTotal { get; }

Property Value

NumberExpr

MaxParallel

strategy.max-parallel: The maximum number of jobs that can run simultaneously.

public NumberExpr MaxParallel { get; }

Property Value

NumberExpr