GitHubActionsBuildsAliases.

GitHubActionsBuilds(ICakeContext, GitHubActionsBuildSettings) Method

Summary

Gets an object for writing issues to GitHub Actions using the specified settings.

Syntax

public static IPullRequestSystem GitHubActionsBuilds(this ICakeContext context, GitHubActionsBuildSettings settings)

Examples

Report code analysis issues reported as MsBuild warnings to GitHub Actions:

 var gitHubActionsSettings =
         new GitHubActionsBuildSettings
         {
         };

     ReportCodeAnalysisIssuesToPullRequest(
         MsBuildCodeAnalysis(
             @"c:\build\msbuild.log",
             MsBuildXmlFileLoggerFormat),
         GitHubActionsBuilds(gitHubActionsSettings),
         @"c:\repo");

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext The context.
settings GitHubActionsBuildSettings Settings for writing issues to GitHub Actions.

Return Value

Type Description
IPullRequestSystem Object for writing issues to GitHub Actions.