get-version-action icon indicating copy to clipboard operation
get-version-action copied to clipboard

Node.js 12 actions are deprecated

Open sj14 opened this issue 2 years ago • 5 comments

Thanks for the great project!

Recently, I started to get the following warning in the CI summary:

Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. Please update the following actions to use Node.js 16: battila7/get-version-action

Just to make you aware of this problem.

sj14 avatar Oct 24 '22 11:10 sj14

Note that at the same time you might want to update actions/core to v1.10.0 or above since that's using a deprecated version as well:

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/

Thanks for this action!

bloerwald avatar Oct 27 '22 08:10 bloerwald

any progress on this?

zdposter avatar Nov 29 '22 06:11 zdposter

@battila7 - are you planning to update the package? @bjartebore already submitted the PR with fix #25. I am deciding which one should I use, or if the fork and update are fine by you.

Simply007 avatar Jan 29 '23 12:01 Simply007

I have updated the packages, set up the build script, and added the CI in case you want to pull the changes.

The commit is at the state of the ideal rebase: https://github.com/Simply007/get-version-action/tree/7236f08751d7430451850869f00450fb02c25723 - I will leave the repo for a bit and then I will adjust the rest to be able to release it as a replacement properly.

Thank you very much for the package! We use it in the Kontent.ai github organization to load the release version in the GitHub CI release process!

Simply007 avatar Jan 29 '23 13:01 Simply007

Need Node 20 for now.

Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: battila7/get-version-action@v2, ncipollo/release-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.

Goooler avatar Feb 12 '24 15:02 Goooler