Skip to content
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

output only contains first line #7

Closed
sebhoss opened this issue Sep 6, 2020 · 2 comments
Closed

output only contains first line #7

sebhoss opened this issue Sep 6, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@sebhoss
Copy link

sebhoss commented Sep 6, 2020

Describe the bug

The step output only contains the first line of the generated changelog.

Reproduce

Steps to reproduce the behavior:

  1. Use heinrichreimer/github-changelog-generator-action@v2.1.1
  2. Reference generated output in downstream step ${{ steps.generate-changelog.outputs.changelog }}
  3. Log changelog and see that step output does not contain the entire changelog

Expected behavior

The step output should contain the entire changelog

@sebhoss sebhoss added the bug Something isn't working label Sep 6, 2020
@sebhoss
Copy link
Author

sebhoss commented Sep 6, 2020

My current work around is to use juliangruber/read-file-action@v1 to read the generated changelog file like this:

- name: Read Changelog
  id: changelog
  uses: juliangruber/read-file-action@v1
  with:
    path: ./CHANGELOG.md

and then use ${{ steps.changelog.outputs.content }} to use the generated changelog in other steps.

@heinrichreimer
Copy link
Owner

Thanks for bringing this to my attention!
I've now fixed the bug.
I've also updated this project to use the action itself, so that we should see issues earlier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants