GitHubActionsRunnerInfo.

Workspace Property

Summary

Gets the runner workspace directory path.

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.