Summary
Gets the ref path to the workflow file.
- Namespace
- Cake
.Common .Build .GitHubActions .Data - Containing Type
- Git
Hub Actions Workflow Info
Syntax
public string WorkflowRef { get; }
Examples
if (BuildSystem.GitHubActions.IsRunningOnGitHubActions)
{
Information(@"Workflow WorkflowRef: {0}", BuildSystem.GitHubActions.Environment.Workflow.WorkflowRef);
}
if (GitHubActions.IsRunningOnGitHubActions)
{
Information(@"Workflow WorkflowRef: {0}", GitHubActions.Environment.Workflow.WorkflowRef);
}
Value
| Type | Description |
|---|---|
| string | The ref path to the workflow file. |
