Skip to content

Commit aca7a16

Browse files
committed
🚲 Fix output summary, correct input case consistency
1 parent ebaba20 commit aca7a16

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/PublishPSModuleToGallery.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ on:
1414
default: 'Dev'
1515
type: choice
1616
options:
17-
- dev
17+
- Dev
1818
- bogus_for_failure_testing
1919

2020
defaults:
@@ -80,13 +80,13 @@ jobs:
8080
$oPSModuleInfo_fromJson = @"
8181
${{ steps.publish_ps_module.outputs.strModuleInfo_JSON }}
8282
"@ | ConvertFrom-Json
83-
Add-Content -Path $env:GITHUB_STEP_SUMMARY -Encoding utf8 -Value @"
83+
Add-Content -Path $env:GITHUB_STEP_SUMMARY -Encoding utf8 -Value (@'
8484
# Publish Summary
8585
| What | Value |
8686
|------|-------|
87-
Module Name | `$($oPSModuleInfo_fromJson.Name)`
88-
Version | `$($oPSModuleInfo_fromJson.Version)`
89-
Description | $($oPSModuleInfo_fromJson.Description)
90-
Author | $($oPSModuleInfo_fromJson.Author)
87+
Module Name | `{0}`
88+
Version | `{1}`
89+
Description | {2}
90+
Author | {3}
9191
Publishing Result | $strResultOfPublish
92-
"@
92+
'@ -f $oPSModuleInfo_fromJson.Name, $oPSModuleInfo_fromJson.Version, $oPSModuleInfo_fromJson.Description, $oPSModuleInfo_fromJson.Author)

0 commit comments

Comments
 (0)