From e7a1ce039244203b877e248147ee6e281e0e3f15 Mon Sep 17 00:00:00 2001 From: Enes Date: Thu, 1 Dec 2022 14:34:11 +0300 Subject: [PATCH] Bump action environment from Node12 to Node16 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🚨 Node 12 has an end of life on April 30, 2022. The GitHub Actions workflow gives the following deprecation warning while running the action: > Node.js 12 actions are deprecated. For more information see: github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12. This PR updates the default runtime to [node16](https://github.blog/changelog/2021-12-10-github-actions-github-hosted-runners-now-run-node-js-16-by-default/) rather then node12. This is supported on all Actions Runners v2.285.0 or later. Signed-off-by: Enes --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index fff48757..e5b09640 100644 --- a/action.yml +++ b/action.yml @@ -15,5 +15,5 @@ inputs: description: 'Additional options supported by postgresql simple SQL shell. These options will be applied when executing the given file on the Azure DB for Postgresql. In case of multiple files, the same args will be applied for all files' required: false runs: - using: 'node12' + using: 'node16' main: 'lib/main.js'