Table of Contents

Class Strategy

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

The execution strategy for a job (strategy), defining a matrix of variations to run.

public sealed record Strategy
Inheritance
object
Strategy

Constructors

Strategy()

public Strategy()

Properties

FailFast

Whether to cancel all in-progress matrix jobs when any of them fails (fail-fast). GitHub defaults to true when omitted.

public Template? FailFast { get; init; }

Property Value

Template

Matrix

The matrix of variable combinations to run the job with.

public required Matrix Matrix { get; init; }

Property Value

Matrix

MaxParallel

The maximum number of matrix jobs that may run simultaneously (max-parallel).

public Template? MaxParallel { get; init; }

Property Value

Template