From 2f03a90110c74d1f519a90c868aeffff7989df7a Mon Sep 17 00:00:00 2001 From: Davis Rollman Date: Sat, 6 Jul 2024 11:31:20 -0700 Subject: [PATCH] Add java 21 to CI, start deploying with java 21 --- .github/workflows/main.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0cc3203965..01674b8d2c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -82,7 +82,7 @@ jobs: name: android-natives path: build/native - # Build the engine, we only deploy from ubuntu-latest jdk17 + # Build the engine, we only deploy from ubuntu-latest jdk21 BuildJMonkey: needs: [BuildAndroidNatives] name: Build on ${{ matrix.osName }} jdk${{ matrix.jdk }} @@ -91,7 +91,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest,windows-2019,macOS-latest] - jdk: [11, 17] + jdk: [11, 17, 21] include: - os: ubuntu-latest osName: linux @@ -104,6 +104,8 @@ jobs: deploy: false - jdk: 11 deploy: false + - jdk: 17 + deploy: false steps: - name: Clone the repo @@ -304,12 +306,12 @@ jobs: with: fetch-depth: 1 - # Setup jdk 17 used for building Maven-style artifacts + # Setup jdk 21 used for building Maven-style artifacts - name: Setup the java environment uses: actions/setup-java@v4 with: distribution: 'temurin' - java-version: '17' + java-version: '21' - name: Download natives for android uses: actions/download-artifact@master @@ -348,12 +350,12 @@ jobs: with: fetch-depth: 1 - # Setup jdk 17 used for building Sonatype OSSRH artifacts + # Setup jdk 21 used for building Sonatype OSSRH artifacts - name: Setup the java environment uses: actions/setup-java@v4 with: distribution: 'temurin' - java-version: '17' + java-version: '21' # Download all the stuff... - name: Download maven artifacts