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