Interface IJobRunsOn
- Namespace
- Invex.Atom.Workflows
- Assembly
- Invex.Atom.Workflows.dll
Defines the execution environment (runner or agent) for a workflow job.
public interface IJobRunsOn : IBuildAccessor
- Inherited Members
Remarks
This interface provides common constants for operating system tags and a parameter for specifying the runner. It is typically used in build matrices to run jobs across multiple environments.
Properties
JobRunsOn
Gets the runner or agent tag for the job, sourced from the "job-runs-on" parameter.
[ParamDefinition("job-runs-on", "The runner or agent to use for a job (e.g., 'windows-latest').", ParamSource.All, null)]
string JobRunsOn { get; }
Property Value
- string