Skip to content

Commit b2cce47

Browse files
authored
Update build.yml - use java-version 21
Our CI is broken and this is the error: ``` FAILURE: Build failed with an exception. * What went wrong: Gradle requires JVM 17 or later to run. Your build is currently configured to use JVM 11. ``` So updating our java-versions to the latest stable version which is 21 apparently.
1 parent 067bfdb commit b2cce47

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ jobs:
317317
uses: actions/setup-java@v3
318318
with:
319319
distribution: 'temurin'
320-
java-version: '11'
320+
java-version: '21'
321321
- name: set up flatc
322322
run: |
323323
cmake -DFLATBUFFERS_BUILD_TESTS=OFF -DFLATBUFFERS_BUILD_FLATLIB=OFF -DFLATBUFFERS_BUILD_FLATHASH=OFF -DFLATBUFFERS_STRICT_MODE=ON .
@@ -402,7 +402,7 @@ jobs:
402402
- uses: actions/setup-java@v3
403403
with:
404404
distribution: 'temurin'
405-
java-version: '11'
405+
java-version: '21'
406406
- name: Build flatc
407407
run: |
408408
cmake -DFLATBUFFERS_BUILD_TESTS=OFF -DFLATBUFFERS_BUILD_FLATLIB=OFF -DFLATBUFFERS_BUILD_FLATHASH=OFF .
@@ -421,7 +421,7 @@ jobs:
421421
- uses: actions/setup-java@v3
422422
with:
423423
distribution: 'temurin'
424-
java-version: '11'
424+
java-version: '21'
425425
- uses: gradle/[email protected]
426426
- name: Build flatc
427427
run: |

0 commit comments

Comments
 (0)