diff --git a/.github/actions/templates/validateModuleDeployment/action.yml b/.github/actions/templates/validateModuleDeployment/action.yml index b13b11bea8..6057c0f7ac 100644 --- a/.github/actions/templates/validateModuleDeployment/action.yml +++ b/.github/actions/templates/validateModuleDeployment/action.yml @@ -68,10 +68,12 @@ inputs: default: 'true' required: false -outputs: - deploymentOutput: - description: 'The module deployment output in json format' - value: ${{ steps.deploy_step.outputs.deploymentOutput }} +# outputs: +# deploymentOutput: +# description: 'The module deployment output in json format' +# # value: ${{ fromJSON(steps.deploy_step.outputs.deploymentOutput) }} +# value: {{ steps.deploy_step.outputs.deploymentOutput }} + runs: using: 'composite' @@ -347,17 +349,17 @@ runs: # Get deployment name Write-Output ('{0}={1}' -f 'deploymentName', $res.deploymentName) >> $env:GITHUB_OUTPUT - # Populate further outputs - $deploymentOutputHash = @{} + # # Populate further outputs + # $deploymentOutputHash = @{} - foreach ($outputKey in $res.deploymentOutput.Keys) { - Write-Output ('{0}={1}' -f 'outputKey', $res.deploymentOutput[$outputKey].Value) >> $env:GITHUB_OUTPUT - $deploymentOutputHash.add($outputKey, $res.deploymentOutput[$outputKey].Value) - } + # foreach ($outputKey in $res.deploymentOutput.Keys) { + # Write-Output ('{0}={1}' -f 'outputKey', $res.deploymentOutput[$outputKey].Value) >> $env:GITHUB_OUTPUT + # $deploymentOutputHash.add($outputKey, $res.deploymentOutput[$outputKey].Value) + # } - $deploymentOutput = $deploymentOutputHash | ConvertTo-Json -Compress -Depth 100 - Write-Verbose "Deployment output: $deploymentOutput" -Verbose - Write-Output ('{0}={1}' -f 'deploymentOutput', $deploymentOutput) >> $env:GITHUB_OUTPUT + # $deploymentOutput = $deploymentOutputHash | ConvertTo-Json -Compress -Depth 100 + # Write-Verbose "Deployment output: $deploymentOutput" -Verbose + # Write-Output ('{0}={1}' -f 'deploymentOutput', $deploymentOutput) >> $env:GITHUB_OUTPUT if ($res.ContainsKey('exception')) { # Happens only if there is an exception