The set-output command is deprecated #13

Closed
opened 2026-03-29 17:50:11 -05:00 by GiteaMirror · 12 comments
Owner

Originally created by @devenes on GitHub (Nov 10, 2022).

As @depoulo mentioned https://github.com/joelwmale/webhook-action/issues/593#issuecomment-1309980721, we still face the warning,

Warning: The set-output command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

I was thinking that this error is due to env files as stated in the document. I want to ask that should we consider to change set-output command;

2c43ebbef8/dist/index.js (L334-L344)

Originally created by @devenes on GitHub (Nov 10, 2022). As @depoulo mentioned https://github.com/joelwmale/webhook-action/issues/593#issuecomment-1309980721, we still face the warning, > Warning: The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/ I was thinking that this error is due to env files as stated in the [document](https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/). I want to ask that should we consider to change `set-output` command; https://github.com/joelwmale/webhook-action/blob/2c43ebbef8b9c5e5ea27cd65dfdeac58f90e7e29/dist/index.js#L334-L344
Author
Owner

@depoulo commented on GitHub (Nov 10, 2022):

I think @joelwmale just needs to run rm yarn.lock && yarn && yarn package and then create a new release.

@depoulo commented on GitHub (Nov 10, 2022): I think @joelwmale just needs to run `rm yarn.lock && yarn && yarn package` and then create a new release.
Author
Owner

@joelwmale commented on GitHub (Nov 10, 2022):

@depoulo let me try that now, one sec.

@joelwmale commented on GitHub (Nov 10, 2022): @depoulo let me try that now, one sec.
Author
Owner

@joelwmale commented on GitHub (Nov 10, 2022):

@devenes @depoulo try the latest release

@joelwmale commented on GitHub (Nov 10, 2022): @devenes @depoulo try the latest release
Author
Owner

@depoulo commented on GitHub (Nov 10, 2022):

Could not find file '/home/runner/work/_actions/_temp_a65493dc-fe4f-4e98-90b4-43ce81cb38d3/_staging/joelwmale-webhook-action-29d4f52/node_modules/.bin/semver'.
@depoulo commented on GitHub (Nov 10, 2022): ``` Could not find file '/home/runner/work/_actions/_temp_a65493dc-fe4f-4e98-90b4-43ce81cb38d3/_staging/joelwmale-webhook-action-29d4f52/node_modules/.bin/semver'. ```
Author
Owner

@depoulo commented on GitHub (Nov 10, 2022):

grafik

Looks like you need to add semver as a direct dependency.

@depoulo commented on GitHub (Nov 10, 2022): ![grafik](https://user-images.githubusercontent.com/4457202/201075176-fa8224d0-07cd-4c38-a028-20c07391e9e0.png) Looks like you need to add `semver` as a direct dependency.
Author
Owner

@joelwmale commented on GitHub (Nov 10, 2022):

Hmm this is strange, let me give that a go

@joelwmale commented on GitHub (Nov 10, 2022): Hmm this is strange, let me give that a go
Author
Owner

@joelwmale commented on GitHub (Nov 10, 2022):

Give that a go now @depoulo. Not sure why it's asking for semver..

@joelwmale commented on GitHub (Nov 10, 2022): Give that a go now @depoulo. Not sure why it's asking for semver..
Author
Owner

@depoulo commented on GitHub (Nov 10, 2022):

Currently trying out depoulo/webhook-action@fix-dep-updates

@depoulo commented on GitHub (Nov 10, 2022): Currently trying out `depoulo/webhook-action@fix-dep-updates`…
Author
Owner

@depoulo commented on GitHub (Nov 10, 2022):

Which does not work either. Now trying out your 2.3.1 🤞🏽

@depoulo commented on GitHub (Nov 10, 2022): Which does not work either. Now trying out your 2.3.1 🤞🏽
Author
Owner

@depoulo commented on GitHub (Nov 10, 2022):

Error: Cannot find module 'uuid'

I'd suggest trying this out on your own, or publishing only branches, not versions, until this is confirmed to have been fixed.

@depoulo commented on GitHub (Nov 10, 2022): > Error: Cannot find module 'uuid' I'd suggest trying this out on your own, or publishing only branches, not versions, until this is confirmed to have been fixed.
Author
Owner

@joelwmale commented on GitHub (Nov 10, 2022):

v2.3.2 fixes all issues relating to dependencies. Thanks guys.

@joelwmale commented on GitHub (Nov 10, 2022): v2.3.2 fixes all issues relating to dependencies. Thanks guys.
Author
Owner

@depoulo commented on GitHub (Nov 10, 2022):

Thank you for the quick fix 🎉

@depoulo commented on GitHub (Nov 10, 2022): Thank you for the quick fix 🎉
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/webhook-action#13