Summary
Gets an environment variable as a
DirectoryPath
.
- Namespace
- Cake
.Common .Build .GitHubActions - Containing Type
- GitHubActionsInfo
Syntax
protected DirectoryPath GetEnvironmentDirectoryPath(string variable)
Parameters
Name | Type | Description |
---|---|---|
variable | string | The environment variable name. |
Return Value
Type | Description |
---|---|
DirectoryPath | The environment variable. |