Use Node-20 instead of end-of-life Node-16

Would prefer to use Node-18, because it's LTS, but I can't, because it's not available:
https://github.com/actions/runner-images/discussions/7664
This commit is contained in:
Vilius Sutkus '89 2023-09-25 03:20:06 +03:00
parent fabcc053ca
commit ccc0939481
2 changed files with 11 additions and 11 deletions

View file

@ -17,10 +17,10 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Setup node 16
- name: Setup node 20
uses: actions/setup-node@v3
with:
node-version: '16'
node-version: 20
- run: npm ci
@ -34,10 +34,10 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Setup node 16
- name: Setup node 20
uses: actions/setup-node@v3
with:
node-version: '16'
node-version: 20
- run: npm ci
@ -48,10 +48,10 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Setup node 16
- name: Setup node 20
uses: actions/setup-node@v3
with:
node-version: '16'
node-version: 20
- run: npm ci
@ -67,10 +67,10 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Setup node 16
- name: Setup node 20
uses: actions/setup-node@v3
with:
node-version: '16'
node-version: 20
- name: Set up JDK 17
uses: actions/setup-java@v3
@ -90,10 +90,10 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Setup node 16
- name: Setup node 20
uses: actions/setup-node@v3
with:
node-version: '16'
node-version: 20
- run: npm ci

View file

@ -3,7 +3,7 @@ author: 'Android-Actions'
description: 'Setup the Android SDK Tools and add them to the path'
runs:
using: 'node16'
using: node20
main: 'dist/index.js'
branding: