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