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