Summary
Gets the job name.
- Namespace
- Cake
.Common .Build .GitHubActions .Data - Containing Type
- Git
Hub Actions Workflow Info
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. |
