File tree Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -85,12 +85,12 @@ jobs:
85
85
Script : |
86
86
'powershell-yaml' | Install-PSResource -Repository PSGallery -TrustRepository -Reinstall
87
87
88
- $name = $env:PSMODULE_GET_SETTINGS_INPUT_Name
88
+ $inputName = $env:PSMODULE_GET_SETTINGS_INPUT_Name
89
89
$settingsPath = $env:PSMODULE_GET_SETTINGS_INPUT_SettingsPath
90
90
LogGroup "Inputs" {
91
91
[pscustomobject]@{
92
92
PWD = (Get-Location).Path
93
- Name = $name
93
+ Name = $inputName
94
94
SettingsPath = $settingsPath
95
95
} | Format-List | Out-String
96
96
}
@@ -124,8 +124,18 @@ jobs:
124
124
$settings = @{}
125
125
}
126
126
127
+ LogGroup "Name" {
128
+ [pscustomobject]@{
129
+ InputName = $inputName
130
+ SettingsName = $settings.Name
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
135
+ }
136
+
127
137
$settings = [pscustomobject]@{
128
- Name = [string]::IsNullOrEmpty( $name) ? $name : [string]::IsNullOrEmpty($settings.Name) ? $settings.Name : $env:GITHUB_REPOSITORY_NAME
138
+ Name = $name
129
139
Test = [pscustomobject]@{
130
140
Skip = $settings.Test.Skip ?? $false
131
141
Linux = [pscustomobject]@{
You can’t perform that action at this time.
0 commit comments