GitHubActionsWorkflowInfo.

Workflow Property

Summary

Gets the name of the workflow.

Syntax

public string Workflow { get; }

Examples

if (BuildSystem.GitHubActions.IsRunningOnGitHubActions)
{
    Information(@"Workflow: {0}", BuildSystem.GitHubActions.Environment.Workflow.Workflow);
}
if (GitHubActions.IsRunningOnGitHubActions)
{
    Information(@"Workflow: {0}", GitHubActions.Environment.Workflow.Workflow);
}

Value

Type Description
string The name of the workflow.