Skip to content

Commit a2c7b5a

Browse files
authored
update GitHub actions: setup-java to v4, wrapper-validation-action to v2 (#2192)
Resolves the deprecation of Node.js 16
1 parent 22bf58a commit a2c7b5a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/main.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
with:
7070
fetch-depth: 1
7171
- name: Validate the Gradle wrapper
72-
uses: gradle/wrapper-validation-action@v1
72+
uses: gradle/wrapper-validation-action@v2
7373
- name: Build
7474
run: |
7575
./gradlew -PuseCommitHashAsVersionName=true --no-daemon -PbuildNativeProjects=true \
@@ -113,7 +113,7 @@ jobs:
113113
fetch-depth: 1
114114

115115
- name: Setup the java environment
116-
uses: actions/setup-java@v3
116+
uses: actions/setup-java@v4
117117
with:
118118
distribution: 'temurin'
119119
java-version: ${{ matrix.jdk }}
@@ -125,7 +125,7 @@ jobs:
125125
path: build/native
126126

127127
- name: Validate the Gradle wrapper
128-
uses: gradle/wrapper-validation-action@v1
128+
uses: gradle/wrapper-validation-action@v2
129129
- name: Build Engine
130130
shell: bash
131131
run: |
@@ -307,7 +307,7 @@ jobs:
307307

308308
# Setup jdk 17 used for building Maven-style artifacts
309309
- name: Setup the java environment
310-
uses: actions/setup-java@v3
310+
uses: actions/setup-java@v4
311311
with:
312312
distribution: 'temurin'
313313
java-version: '17'
@@ -351,7 +351,7 @@ jobs:
351351

352352
# Setup jdk 17 used for building Sonatype OSSRH artifacts
353353
- name: Setup the java environment
354-
uses: actions/setup-java@v3
354+
uses: actions/setup-java@v4
355355
with:
356356
distribution: 'temurin'
357357
java-version: '17'

0 commit comments

Comments
 (0)