fetch-latest-release icon indicating copy to clipboard operation
fetch-latest-release copied to clipboard

Update fetch-latest-release to node16, updated packages & actions, etc.

Open timcosgrove opened this issue 2 years ago • 3 comments

https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

Github Actions is deprecating ::set-output syntax for setting output from a workflow step. fetch-latest-release does not directly do this, but it includes packages like @actions/core which do.

This PR updates node packages as well as the action itself and its testing workflow. It does not attempt to remove node_modules from the repo, so most of the changed files are in that directory.

timcosgrove avatar Dec 16 '22 01:12 timcosgrove

@gregziegan I realize it's been a while since you've touched this repo, so this might be a bit out of the blue. The action needs some minor updates to bring it up to speed with recent Github Actions syntax changes. See https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

All that was done here was:

  • npm update using node v16.17/npm 8.15
  • Update the node12 designation to node16: https://github.com/gregziegan/fetch-latest-release/pull/17/files#diff-1243c5424efaaa19bd8e813c5e6f6da46316e63761421b3e5f5c8ced9a36e6b6R9
  • Update @actions/checkout to v3 in the example GH action.

If you approve of the updates, it would be helpful to us (Department of Veterans Affairs, who I'm doing this work on behalf of) as well as others if you are able to merge it.

Thanks for creating the action in the first place! Very much appreciated.

timcosgrove avatar Dec 16 '22 01:12 timcosgrove

+1 vote to merge this PR and create a new release. TY!

patrick-scully-ef avatar Jan 25 '23 14:01 patrick-scully-ef

Starting 1st June 2023 workflows using save-state or set-output commands via stdout will fail with an error.

⏲️ Time Is Ticking Out

romsnl avatar May 16 '23 12:05 romsnl