[GH-ISSUE #605] The set-output command is deprecated #2084

Closed
opened 2026-04-23 09:27:46 -05:00 by GiteaMirror · 12 comments
Owner

Originally created by @devenes on GitHub (Nov 10, 2022).
Original GitHub issue: https://github.com/joelwmale/webhook-action/issues/605

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). Original GitHub issue: https://github.com/joelwmale/webhook-action/issues/605 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.

<!-- gh-comment-id:1310088647 --> @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.

<!-- gh-comment-id:1310090105 --> @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

<!-- gh-comment-id:1310094427 --> @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'.
<!-- gh-comment-id:1310114001 --> @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.

<!-- gh-comment-id:1310117919 --> @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

<!-- gh-comment-id:1310123991 --> @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..

<!-- gh-comment-id:1310126669 --> @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

<!-- gh-comment-id:1310127487 --> @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 🤞🏽

<!-- gh-comment-id:1310137954 --> @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.

<!-- gh-comment-id:1310143788 --> @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.

<!-- gh-comment-id:1310234721 --> @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 🎉

<!-- gh-comment-id:1310244813 --> @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#2084