hatz
04/11/2023, 6:59 PMgithub-action-matrix-outputs-write github action and facing an unexpected error that I'm hoping I can get some assistance with. Here is the usage of the action:
- uses: cloudposse/github-action-matrix-outputs-write@0.3.1
if: ${{ inputs.monorepo == 'true' }}
id: out
with:
matrix-step-name: ${{ github.job }}
matrix-key: ${{ env.APPLICATION_NAME }}
outputs: |-
comment: ${{ env.URL }}
This is the error I'm getting
Error: bad file '-': yaml: mapping values are not allowed in this context
Here's some more output:
Copying to tool cache
Run JSON=$(echo "comment: URL for deploy: https://frontend-docs-259.website.dev" | yq '. + {}' -o json | jq . -c -M -e)
JSON=$(echo "comment: URL for deploy: https://frontend-docs-259.website.dev" | yq '. + {}' -o json | jq . -c -M -e)
echo "result=${JSON}" >> $GITHUB_OUTPUT