Class RunsOn
- Namespace
- Invex.StructuredText.GithubActions.GithubActionModel
- Assembly
- Invex.StructuredText.GithubActions.dll
The runner selection for a job (runs-on).
public sealed record RunsOn
- Inheritance
-
objectRunsOn
Constructors
RunsOn()
public RunsOn()
Properties
Group
The runner group to select runners from (group), for organization-level runner groups.
public Template? Group { get; init; }
Property Value
Labels
The runner labels the job requires, e.g. ubuntu-latest or self-hosted runner labels.
A single label is written inline; multiple labels are written as a list.
public required IReadOnlyList<Template> Labels { get; init; }
Property Value
- IReadOnlyList<Template>