oNaiPs / secrets-to-env-action

Export your GitHub Actions secrets to environment variables
MIT License
89 stars 29 forks source link

Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: oNaiPs/secrets-to-env-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/. #326

Open ethanneff opened 6 months ago

ethanneff commented 6 months ago

getting this warning whenever using this action

ethanneff commented 6 months ago

see this fix here https://github.com/oNaiPs/secrets-to-env-action/pull/274

ethanneff commented 6 months ago

not sure why i'm still getting this error

AJamesPhillips commented 5 months ago

I'm seeing the same thing @ethanneff. Maybe Github have the node versions cached against the version number? I had warnings for 3 other packages/actions and on changing their version number the warning went away for them (but remained for this package/action).

danpowell88 commented 4 months ago

This worked for me, make sure you're targeting the v1.5 tag, it seems v1 is not pointed to the latest like it is for most actions

AJamesPhillips commented 4 months ago

This worked for me, make sure you're targeting the v1.5 tag, it seems v1 is not pointed to the latest like it is for most actions

I can confirm that @danpowell88 's advice of changing from oNaiPs/secrets-to-env-action@v1 to oNaiPs/secrets-to-env-action@v1.5 worked for me and has stopped the warning from being displayed.