samuelmeuli/action-snapcraft

Warning: Node.js 12 actions are deprecated.

sp1thas opened this issue · 1 comments

action-snapcraft raises the following warning:

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: samuelmeuli/action-snapcraft

We probably have to upgrade Node.js from 12 to 16. I will glad to open a PR in order to fix this.

Is this what's required?

diff --git a/action.yml b/action.yml
index 5b48355..db64dec 100644
--- a/action.yml
+++ b/action.yml
@@ -18,7 +18,7 @@ inputs:
     required: false

 runs:
-  using: node12
+  using: node16
   main: ./index.js

 branding:

https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#example-using-nodejs-v16