-
Notifications
You must be signed in to change notification settings - Fork 59.9k
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
::set-output does not document that value
cannot contain newlines
#6693
Comments
Thanks for opening an issue @jsoref! I'll triage this for the team to take a look 👀 |
Thanks @jsoref! The solution in https://github.community/t/set-output-truncates-multiline-strings/16852/3 would be good to document. You or anyone else is welcome to do so! |
@lecoursen: I found the solution so icky that I didn't want to be blamed for documenting it (c.f. https://github.community/t/set-output-truncates-multiline-strings/16852/5), hence just filing a bug asking that it be documented as opposed to writing the documentation. That said, once it is officially documented, I'll be quite happy to point to it / rely on it to work 😄 . |
Sigh |
This comment was marked as off-topic.
This comment was marked as off-topic.
Hi @jsoref and @lecoursen! It seems that in the time since this issue was posted, it has been solved with the introduction of GITHUB env files. Substituting Ref closed issue #21529 with regard to using a delimiter for multiline output. As there is a planned deprecation for the |
What article on docs.github.com is affected?
https://docs.github.com/en/actions/reference/workflow-commands-for-github-actions#setting-an-output-parameter
What part(s) of the article would you like to see updated?
It should indicate that
value
cannot contain newlines.Additional information
https://github.community/t/use-ssh-key-from-secret-in-output-set-output/141071/2
https://github.community/t/set-output-truncates-multiline-strings/16852/3
Content design plan
The text was updated successfully, but these errors were encountered: