Skip to content

Commit ebaba20

Browse files
committed
🐛 Work around quoting issue interfering w JSON
1 parent 358891f commit ebaba20

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/PublishPSModuleToGallery.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,9 @@ jobs:
7777
"cancelled" {"❌ Canceled"}
7878
"skipped" {"🦘 Skipped"}
7979
}
80-
$oPSModuleInfo_fromJson = '${{ steps.publish_ps_module.outputs.strModuleInfo_JSON }}' | ConvertFrom-Json
80+
$oPSModuleInfo_fromJson = @"
81+
${{ steps.publish_ps_module.outputs.strModuleInfo_JSON }}
82+
"@ | ConvertFrom-Json
8183
Add-Content -Path $env:GITHUB_STEP_SUMMARY -Encoding utf8 -Value @"
8284
# Publish Summary
8385
| What | Value |

0 commit comments

Comments
 (0)