CI: bump actions/checkout to v4, node to 20.x (#7)
* CI: bump actions/checkout to v4, node to 20.x Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> * chore(ci): update workflows Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> * cleanup: fix eol in check-dist.yml Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> --------- Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
This commit is contained in:
@@ -16,7 +16,7 @@ on:
|
||||
description: "Optional input to set the version of Node.js used to build a project. The input syntax corresponds to the setup-node's one"
|
||||
required: false
|
||||
type: string
|
||||
default: "16.x"
|
||||
default: "20.x"
|
||||
node-caching:
|
||||
description: "Optional input to set up caching for the setup-node action. The input syntax corresponds to the setup-node's one. Set to an empty string if caching isn't needed"
|
||||
required: false
|
||||
@@ -29,10 +29,10 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Node.js ${{inputs.node-version}}
|
||||
uses: actions/setup-node@v3
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: ${{inputs.node-version}}
|
||||
cache: ${{inputs.node-caching}}
|
||||
@@ -55,7 +55,7 @@ jobs:
|
||||
# If inners of the dist directory were different than expected, upload the expected version as an artifact
|
||||
- name: Upload artifact
|
||||
if: ${{failure() && steps.diff.conclusion == 'failure'}}
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: dist
|
||||
path: ${{inputs.dist-path}}
|
||||
path: ${{inputs.dist-path}}
|
||||
|
||||
Reference in New Issue
Block a user