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