Summary
Gets the owner and repository name of the action being executed.
- Namespace
- Cake
.Common .Build .GitHubActions .Data - Containing Type
- Git
Hub Actions Workflow Info
Syntax
public string ActionRepository { get; }
Examples
if (BuildSystem.GitHubActions.IsRunningOnGitHubActions)
{
Information(@"Workflow ActionRepository: {0}", BuildSystem.GitHubActions.Environment.Workflow.ActionRepository);
}
if (GitHubActions.IsRunningOnGitHubActions)
{
Information(@"Workflow ActionRepository: {0}", GitHubActions.Environment.Workflow.ActionRepository);
}
Value
| Type | Description |
|---|---|
| string | The owner and repository name of the action being executed. For example, actions/checkout. |
