Table of Contents

Class Matrix

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

A matrix of variable combinations to run a job with (strategy.matrix).

public sealed record Matrix
Inheritance
object
Matrix

Constructors

Matrix()

public Matrix()

Properties

Exclude

Combinations to remove from the generated matrix (exclude).

public IReadOnlyList<IReadOnlyDictionary<string, Template>>? Exclude { get; init; }

Property Value

IReadOnlyList<IReadOnlyDictionary<string, Template>>

Include

Extra combinations to add to (or extend) the generated matrix (include).

public IReadOnlyList<IReadOnlyDictionary<string, Template>>? Include { get; init; }

Property Value

IReadOnlyList<IReadOnlyDictionary<string, Template>>

Map

The matrix variables: each key is a variable name and each value the list of values to combine. The job runs once per combination.

public IReadOnlyDictionary<string, IReadOnlyList<Template>>? Map { get; init; }

Property Value

IReadOnlyDictionary<string, IReadOnlyList<Template>>