From a2c7b5aef9f7eec1e90c30b503eff78cebe88922 Mon Sep 17 00:00:00 2001 From: Stephen Gold Date: Wed, 7 Feb 2024 00:12:44 -0800 Subject: [PATCH] update GitHub actions: setup-java to v4, wrapper-validation-action to v2 (#2192) Resolves the deprecation of Node.js 16 --- .github/workflows/main.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8d588302c9..7ef3907e0c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -69,7 +69,7 @@ jobs: with: fetch-depth: 1 - name: Validate the Gradle wrapper - uses: gradle/wrapper-validation-action@v1 + uses: gradle/wrapper-validation-action@v2 - name: Build run: | ./gradlew -PuseCommitHashAsVersionName=true --no-daemon -PbuildNativeProjects=true \ @@ -113,7 +113,7 @@ jobs: fetch-depth: 1 - name: Setup the java environment - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: 'temurin' java-version: ${{ matrix.jdk }} @@ -125,7 +125,7 @@ jobs: path: build/native - name: Validate the Gradle wrapper - uses: gradle/wrapper-validation-action@v1 + uses: gradle/wrapper-validation-action@v2 - name: Build Engine shell: bash run: | @@ -307,7 +307,7 @@ jobs: # Setup jdk 17 used for building Maven-style artifacts - name: Setup the java environment - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: 'temurin' java-version: '17' @@ -351,7 +351,7 @@ jobs: # Setup jdk 17 used for building Sonatype OSSRH artifacts - name: Setup the java environment - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: 'temurin' java-version: '17'