Skip to content
Compare
Choose a tag to compare
@github-actions github-actions released this 14 Apr 08:29
· 19 commits to refs/heads/main since this release
b087b3e
Fix special chars @goruha (#17)

what

  • Fix special chars issue

Hey all, I am attempting to use the github-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/[email protected]
      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

references

🤖 Automatic Updates

Update README.md and docs @cloudpossebot (#12)

what

This is an auto-generated PR that updates the README.md and docs

why

To have most recent changes of README.md and doc from origin templates