From ccc0939481d34bc74efff13d9098048f10f1c004 Mon Sep 17 00:00:00 2001 From: Vilius Sutkus '89 Date: Mon, 25 Sep 2023 03:20:06 +0300 Subject: [PATCH] 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 --- .github/workflows/build-test.yml | 20 ++++++++++---------- action.yml | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 7af977e..adf1b24 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -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 diff --git a/action.yml b/action.yml index 2f0c482..eaccf45 100644 --- a/action.yml +++ b/action.yml @@ -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: