GitHubActionsWorkflowInfo.

Action Property

Summary

Gets the unique identifier of the action.

Syntax

public string Action { get; }

Examples

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

Value

Type Description
string The unique identifier of the action.