We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cee2e4d commit e9d4eabCopy full SHA for e9d4eab
‎.github/workflows/Get-Settings.yml‎
@@ -131,7 +131,13 @@ jobs:
131
RepositoryName = $env:GITHUB_REPOSITORY_NAME
132
} | Format-List | Out-String
133
134
- $name = ![string]::IsNullOrEmpty($inputName) ? $name : ![string]::IsNullOrEmpty($settings.Name) ? $settings.Name : $env:GITHUB_REPOSITORY_NAME
+ if (![string]::IsNullOrEmpty($inputName)) {
135
+ $name = $inputName
136
+ } elseif (![string]::IsNullOrEmpty($settings.Name)) {
137
+ $name = $settings.Name
138
+ } else {
139
+ $name = $env:GITHUB_REPOSITORY_NAME
140
+ }
141
142
Write-Host "Using [$name] as the module name."
143
}
0 commit comments