Skip to content

Commit dabbbf2

Browse files
committed
Merge the microbuild branch from https://github.com/aarnott/Library.Template
Specifically, this merges [b182ee0 from that repo](AArnott/Library.Template@b182ee0).
2 parents 4dab1dd + b182ee0 commit dabbbf2

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)