8000 Fix special chars by goruha · Pull Request #17 · cloudposse/github-action-matrix-outputs-write · GitHub
[go: up one dir, main page]

Skip to content

Fix special chars #17

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 54 commits into from
Apr 14, 2023
Merged

Fix special chars #17

merged 54 commits into from
Apr 14, 2023

Conversation

goruha
Copy link
Member
@goruha goruha commented Apr 12, 2023

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/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

references

@goruha goruha merged commit b087b3e into main Apr 14, 2023
@goruha goruha deleted the fix-special-chars branch April 14, 2023 08:26
@mikemcclaran
Copy link

I'm confused, why does this PR remove the steps from action.yml? I have been using this action in a workflow and since this change, it does not work properly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0