This is an automated email from the ASF dual-hosted git repository.

erisu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-coho.git


The following commit(s) were added to refs/heads/master by this push:
     new 38b30cb  ci: update workflow actions & node support (#302)
38b30cb is described below

commit 38b30cb5e271b1405afe70240ad906818630c1e4
Author: エリス <[email protected]>
AuthorDate: Wed May 10 01:46:03 2023 +0900

    ci: update workflow actions & node support (#302)
---
 .github/workflows/ci.yml      | 16 +++++++++-------
 .github/workflows/nightly.yml |  6 +++---
 2 files changed, 12 insertions(+), 10 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 7305c9d..c0954f9 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -27,21 +27,22 @@ jobs:
 
     strategy:
       matrix:
-        node-version: [16.x, 18.x]
+        node-version: [16.x, 18.x, 20.x]
         os: [ubuntu-latest, windows-latest, macos-latest]
 
     steps:
-      - uses: actions/checkout@v2
+      - uses: actions/checkout@v3
 
       - name: Use Node.js ${{ matrix.node-version }}
-        uses: actions/setup-node@v1
+        uses: actions/setup-node@v3
         with:
           node-version: ${{ matrix.node-version }}
 
       - name: set up JDK 1.8
-        uses: actions/setup-java@v1
+        uses: actions/setup-java@v3
         with:
-          java-version: 1.8
+          distribution: 'adopt'
+          java-version: '8'
 
       - name: Environment Information
         run: |
@@ -56,6 +57,7 @@ jobs:
         env:
           CI: true
 
-      - uses: codecov/codecov-action@v1
+      - uses: codecov/codecov-action@v3
+        if: success()
         with:
-          fail_ci_if_error: true
+          name: ${{ runner.os }} node.js ${{ matrix.node-version }}
diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml
index 063ce1b..9b4fbfe 100644
--- a/.github/workflows/nightly.yml
+++ b/.github/workflows/nightly.yml
@@ -44,11 +44,11 @@ jobs:
       npm_config_loglevel: verbose
 
     steps:
-      - uses: actions/checkout@v2
+      - uses: actions/checkout@3
 
-      - uses: actions/[email protected]
+      - uses: actions/setup-node@v3
         with:
-          node-version: 14.x
+          node-version: 18.x
           registry-url: 'https://registry.npmjs.org'
 
       - name: Dispatch Inputs


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to