Table of Contents

Interface IGitHubWorkflows

Namespace
Invex.Atom.Module.GitHubWorkflows.Helpers
Assembly
Invex.Atom.Module.GitHubWorkflows.dll

Provides integration with GitHub Actions workflows for Invex.Atom builds.

[ConfigureHostBuilder]
public interface IGitHubWorkflows : IJobRunsOn, IBuildAccessor
Inherited Members

Remarks

Implementing this interface configures the necessary services for generating GitHub Actions workflow files, providing GitHub-specific workflow variables, and adapting build paths and reporting when running within GitHub Actions.

Methods

ConfigureHostBuilderFromIGitHubWorkflows(IHostApplicationBuilder)

Configures the host builder to add GitHub Actions workflow services.

protected static void ConfigureHostBuilderFromIGitHubWorkflows(IHostApplicationBuilder builder)

Parameters

builder IHostApplicationBuilder

The host application builder.

Remarks

This method registers Invex.Atom.Module.GitHubWorkflows.GitHubWorkflowFileWriter and Invex.Atom.Module.GitHubWorkflows.DependabotConfig.DependabotConfigFileWriter for generating workflow files, and Invex.Atom.Module.GitHubWorkflows.GitHubVariableProvider for GitHub-specific workflow variables. When running inside GitHub Actions, it also configures verbose logging, sets up Invex.Atom.Module.GitHubWorkflows.GitHubSummaryOutcomeReportWriter for reporting, and adjusts artifact and publish paths to GitHub Actions conventions.