Skip to content

Commit b182ee0

Browse files
committed
Merge branch 'main' into microbuild
2 parents def42bc + 097060a commit b182ee0

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

tools/GitHubActions.ps1

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ function Add-GitHubActionsEnvVariable {
88
[string]$Value
99
)
1010

11+
if ([string]::IsNullOrWhiteSpace($Path)) {
12+
throw "GitHub Actions environment file must not be empty."
13+
}
14+
1115
if ([string]::IsNullOrWhiteSpace($Name)) {
1216
throw "GitHub Actions environment variable names must not be empty."
1317
}

0 commit comments

Comments
 (0)