Table of Contents

Interface IWorkflowBuildDefinition

Namespace
Invex.Atom.Workflows
Assembly
Invex.Atom.Workflows.dll

Extends IBuildDefinition with workflow definitions, enabling generation of CI/CD workflow files (e.g., GitHub Actions, Azure DevOps) from the build definition.

[ConfigureHostBuilder]
public interface IWorkflowBuildDefinition : IBuildDefinition, IGen, IBuildAccessor
Inherited Members

Remarks

Implementations typically derive from WorkflowBuildDefinition. Inheriting this interface also registers the workflow services (generation, resolution, and lifecycle hooks) with the host and provides the Gen target.

Properties

Workflows

Gets the collection of workflow definitions for the build.

IReadOnlyList<WorkflowDefinition> Workflows { get; }

Property Value

IReadOnlyList<WorkflowDefinition>

Remarks

Workflows define how targets are orchestrated, potentially across different CI/CD platforms.

Methods

ConfigureHostBuilderFromIWorkflowBuildDefinition(IHostApplicationBuilder)

Configures the host builder to register the workflow services (generation, resolution, context, and lifecycle hooks).

protected static void ConfigureHostBuilderFromIWorkflowBuildDefinition(IHostApplicationBuilder builder)

Parameters

builder IHostApplicationBuilder

The host application builder.