Class WorkflowBuildDefinition
- Namespace
- Invex.Atom.Workflows
- Assembly
- Invex.Atom.Workflows.dll
The standard abstract base class for build definitions that generate CI/CD workflow files, providing default implementations for IWorkflowBuildDefinition.
public abstract class WorkflowBuildDefinition : BuildDefinition, IWorkflowBuildDefinition, IBuildDefinition, IGen, IBuildAccessor
- Inheritance
-
objectWorkflowBuildDefinition
- Implements
- Inherited Members
Remarks
Derive from this class instead of BuildDefinition when the build should produce workflow files. Override Workflows to declare the workflows to generate.
Constructors
WorkflowBuildDefinition(IServiceProvider)
The standard abstract base class for build definitions that generate CI/CD workflow files, providing default implementations for IWorkflowBuildDefinition.
protected WorkflowBuildDefinition(IServiceProvider services)
Parameters
servicesIServiceProviderThe service provider for dependency injection.
Remarks
Derive from this class instead of BuildDefinition when the build should produce workflow files. Override Workflows to declare the workflows to generate.
Properties
Workflows
Gets the collection of workflow definitions for the build.
public abstract IReadOnlyList<WorkflowDefinition> Workflows { get; }
Property Value
- IReadOnlyList<WorkflowDefinition>
Remarks
Workflows define how targets are orchestrated, potentially across different CI/CD platforms.