File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 6262 Verbose = $true
6363 }
6464 Publish-PSResource @hshParamForPublishPSResource
65- Add-Content -Path $env:GITHUB_OUTPUTS -Encoding utf8 -Value "strModuleInfo_JSON=$($oPSModuleInfo | Convertto-Json -Depth 5 -Compress)"
65+ Add-Content -Path $env:GITHUB_OUTPUT -Encoding utf8 -Value "strModuleInfo_JSON=$($oPSModuleInfo | Select-Object -ExcludeProperty Exported* | Convertto-Json -Depth 5 -Compress)"
6666 }
6767 ## throw the error if any, so future steps know outcome
6868 catch {throw $_}
@@ -77,12 +77,14 @@ jobs:
7777 "cancelled" {"❌ Canceled"}
7878 "skipped" {"🦘 Skipped"}
7979 }
80- $oPSModuleInfo_fromPublishStep = ${{ fromJson( steps.publish_ps_module.outputs.strModuleInfo_JSON) }}
80+ $oPSModuleInfo_fromJson = ' ${{ steps.publish_ps_module.outputs.strModuleInfo_JSON }}' | ConvertFrom-Json
8181 Add-Content -Path $env:GITHUB_STEP_SUMMARY -Encoding utf8 -Value @"
8282 # Publish Summary
8383 | What | Value |
8484 |------|-------|
85- Module | $($oPSModuleInfo_fromPublishStep.Name)
86- Version | $($oPSModuleInfo_fromPublishStep.Version)
87- Result | $strResultOfPublish
85+ Module Name | `$($oPSModuleInfo_fromJson.Name)`
86+ Version | `$($oPSModuleInfo_fromJson.Version)`
87+ Description | $($oPSModuleInfo_fromJson.Description)
88+ Author | $($oPSModuleInfo_fromJson.Author)
89+ Publishing Result | $strResultOfPublish
8890 "@
You can’t perform that action at this time.
0 commit comments