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
builderIHostApplicationBuilderThe 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.