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

Replaced deprecated set-output #258

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

lfgcampos
Copy link

What does this PR introduce?

@benschwarz, I have to say I haven't tested it completely but the change seemed to be straightforward.
Sorry if I am missing something easy/stupid here =)

Reviewers

@lfgcampos
Copy link
Author

hi @benschwarz, sorry to ping you on this but any news on it?

@benschwarz
Copy link
Member

apologies for the delay @lfgcampos.

afaik you can use >> $GITHUB_OUTPUT (in bash) to push into the GITHUB_OUTPUT environment variable, but that isn't going to be a viable option from a node console log.

I think the path forward here would be to introduce @actions/core and the setOutput function, e.g.:

core.setOutput('markdown', escapedMarkdown);

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

Successfully merging this pull request may close these issues.

[Bug] Usage of deprecated command
2 participants