GitHubActionsWorkflowInfo.

Job Property

Summary

Gets the job name.

Syntax

public string Job { get; }

Examples

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

Value

Type Description
string The job name.