From ea4c593dc940bb9cfd4199b2c55ea694da6c3cd0 Mon Sep 17 00:00:00 2001 From: Chung Tran Date: Wed, 19 Oct 2022 15:16:47 +0700 Subject: [PATCH] Update node from node12 to node16 (#132) This addresses the deprecation of Node 12 in GHA (https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/). --- CHANGELOG.md | 4 ++++ README.md | 6 +++--- action.yml | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5012027..6375e72 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## v0.6.0 [2022-10-11] +### Changed +* Update node to node16 + ## v0.5.4 [2021-11-21] ### Fixed diff --git a/README.md b/README.md index af8c95c..328182b 100644 --- a/README.md +++ b/README.md @@ -36,9 +36,9 @@ jobs: ... steps: - actions/checkout@v2 - # Make sure the @v0.5.4 matches the current version of the + # Make sure the @v0.6.0 matches the current version of the # action - - uses: webfactory/ssh-agent@v0.5.4 + - uses: webfactory/ssh-agent@v0.6.0 with: ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }} - ... other steps @@ -53,7 +53,7 @@ You can set up different keys as different secrets and pass them all to the acti ```yaml # ... contens as before - - uses: webfactory/ssh-agent@v0.5.4 + - uses: webfactory/ssh-agent@v0.6.0 with: ssh-private-key: | ${{ secrets.FIRST_KEY }} diff --git a/action.yml b/action.yml index 16aaba6..5e782f5 100644 --- a/action.yml +++ b/action.yml @@ -7,7 +7,7 @@ inputs: ssh-auth-sock: description: 'Where to place the SSH Agent auth socket' runs: - using: 'node12' + using: 'node16' main: 'dist/index.js' post: 'dist/cleanup.js' post-if: 'always()'