BuildSystem.

GitHubActions Property

Summary

Gets the GitHub Actions Provider.
Namespace
Cake.Common.Build
Containing Type
BuildSystem

Syntax

public IGitHubActionsProvider GitHubActions { get; }

Examples

if (BuildSystem.IsRunningOnGitHubActions)
{
    // Get the workflow name.
    var workflow = BuildSystem.GitHubActions.Environment.Workflow.Workflow;
}

Value

Type Description
IGitHubActionsProvider