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