We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0148071 commit 106643aCopy full SHA for 106643a
hugoalh.GitHubActionsToolkit/module/utility.psm1
@@ -109,7 +109,8 @@ Function Get-WebhookEventPayload {
109
Throw 'File is not exist!'
110
}
111
Get-Content -LiteralPath $Env:GITHUB_EVENT_PATH -Raw -Encoding 'UTF8NoBOM' |
112
- ConvertFrom-Json -AsHashtable:($PSCmdlet.ParameterSetName -ieq 'Hashtable') -Depth 100
+ ConvertFrom-Json -AsHashtable:($PSCmdlet.ParameterSetName -ieq 'Hashtable') -Depth 100 |
113
+ Write-Output
114
115
Catch {
116
Write-Error -Message "Unable to get the GitHub Actions webhook event payload: $_" -Category 'ResourceUnavailable'
0 commit comments