Closed olivierlacan closed 1 year ago
@AkhileshNS this should fix the last deprecation notice when running heroku-deploy in GitHub Actions:
@AkhileshNS Could you review this? There's only a few months left before GitHub disables setOutput
and it would be nice to give folks time to upgrade.
is this going to be merged soon? Is this action still being maintained?
is this going to be merged soon? Is this action still being maintained?
This pull request should be closed as these changes are not needed... just need to uprev a package
Should fix #156,
setOutput
was deprecated and will be disabled May 31st, 2023 which will lead to this action breaking or at least no longer outputing whether the deploy failed or succeeded.I used the following as reference: GitHub Docs on Workflow Commands.
I would have used
process.env.GITHUB_OUTPUT
directly if it weren't for this example provided. Might still be fine to do this but it looks like this is roughly how the@actions/core
package does this internally.They wrap a lot more logic in an internal function that sadly can't (or shouldn't be) imported which is a bit of a bummer considering how simple this operation should be. But hey that's Node for ya.