New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Node.js 12 to 16 #1047
Comments
From this comment on #959, it seems like the way to resolve this is to upgrade to v3. |
As noted above from @ebrannin-bw, upgrading to use |
The issue with upgrading to v3 is to have to deal with the major bumps, and all it entails (probably little, but still). The issue becomes really tough to deal with when you multiply this by the number of actions that needs to be upgraded to node16, and then do this for all repositories. (as manager of dozens of repos, this is heavy work) UnlyEd/github-action-await-vercel#74 (comment) It'd be easier if actions/checkout@v2 would be migrated to v16 directly. And it'd be awesome if that became some sort of "best practice" (assuming it doesn't break other things), so as to avoid having to change the major version of all our actions that aren't yet up-to-date. |
After reading changelog, it appears the v3 was created specifically because of the nodejs v16 upgrade. So, I guess there are reasons not to do that upgrade in @v2 directly... but that does create a ton of needless work |
maybe node v12 is causing issues and v16 makes it go away actions/checkout#1047
`As noted above from @ebrannin-bw, upgrading to use actions/checkout@v3 should correct the deprecations. If it doesn't, please re-open this with some more information about your workflow :)` actions/checkout#1047
changing to actions/checkout@v3 doesn´t work for me |
actions/checkout@v3 doesn´t work for me either |
Hi, after changing to actions/checkout@v3 i notice that there was a access_token validation error. So i just paste back the original code and went to settings-actions-workflow permissions and change permissions. if that could be your problem. you just have to allow read and write permissions in the workflow permissions. Go down a bit to see workflow permissions. Hope this works for you!! |
cambio versión actions/checkout#1047
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 action to use Node.js 16
The text was updated successfully, but these errors were encountered: