File tree Expand file tree Collapse file tree 3 files changed +9
-7
lines changed
Expand file tree Collapse file tree 3 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 5353 Get-ChildItem -Path . -Recurse -Filter *.psd1 | ForEach-Object {
5454 Write-Verbose -Verbose "Found module manifest: '$($_.FullName)'"
5555 try {
56- Test-ModuleManifest -Path $_.FullName -ErrorAction:Stop
56+ Test-ModuleManifest -Path $_.FullName -ErrorAction:Stop -OutVariable oPSModuleInfo
5757 $hshParamForPublishPSResource = @{
5858 ApiKey = '${{ secrets.PSGALLERY_APIKEY }}'
5959 Repository = '${{ vars.PSGALLERY_DISPLAYNAME }}'
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)"
6566 }
6667 ## throw the error if any, so future steps know outcome
6768 catch {throw $_}
@@ -76,11 +77,12 @@ jobs:
7677 "cancelled" {"❌ Canceled"}
7778 "skipped" {"🦘 Skipped"}
7879 }
79- Add-Content -Path $GITHUB_STEP_SUMMARY -Encoding utf8 -Value @"
80+ $oPSModuleInfo_fromPublishStep = ${{ fromJson(steps.publish_ps_module.outputs.strModuleInfo_JSON) }}
81+ Add-Content -Path $env:GITHUB_STEP_SUMMARY -Encoding utf8 -Value @"
8082 # Publish Summary
8183 | What | Value |
8284 |------|-------|
83- Module | ${{ steps.get-module-version.outputs.module-name }}
84- Version | ${{ steps.get-module-version.outputs.module-version }}
85+ Module | $($oPSModuleInfo_fromPublishStep.Name)
86+ Version | $($oPSModuleInfo_fromPublishStep.Version)
8587 Result | $strResultOfPublish
8688 "@
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ begin {
3030 # NestedModules = Write-Output "${strModuleName}_functions.psm1"
3131 # PassThru = $true
3232 PowerShellVersion = [System.Version ]" 7.0"
33- ProjectUri = " https://github.com/vNugglets/something "
33+ ProjectUri = " https://github.com/vNugglets/vNPSMod_AWSSSO "
3434 ReleaseNotes = " See release notes / ReadMe at the project URI"
3535 RootModule = " ${strModuleName} _functions.psm1"
3636 # RequiredModules = "Some.Other.Module"
Original file line number Diff line number Diff line change 33#
44# Generated by: Matt Boren, vNugglets
55#
6- # Generated on: 9/18 /2025
6+ # Generated on: 10/2 /2025
77#
88
99@ {
@@ -104,7 +104,7 @@ PrivateData = @{
104104 # LicenseUri = ''
105105
106106 # A URL to the main website for this project.
107- ProjectUri = ' https://github.com/vNugglets/something '
107+ ProjectUri = ' https://github.com/vNugglets/vNPSMod_AWSSSO '
108108
109109 # A URL to an icon representing this module.
110110 # IconUri = ''
You can’t perform that action at this time.
0 commit comments