From dc3d84a2bd2066bbaae261959bfba89de25891b1 Mon Sep 17 00:00:00 2001 From: kairoh <3878594+kairoh@users.noreply.github.com> Date: Sun, 15 Oct 2023 12:21:09 +0000 Subject: [PATCH] jdk 21 --- .github/workflows/native.yml | 16 ++++++++-------- .github/workflows/sonarcloud.yml | 4 ++-- pom.xml | 2 +- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/native.yml b/.github/workflows/native.yml index bc912b269..425e412b0 100644 --- a/.github/workflows/native.yml +++ b/.github/workflows/native.yml @@ -43,11 +43,11 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Set up JDK 20 + - name: Set up JDK 21 uses: actions/setup-java@v3 with: distribution: temurin - java-version: 20 + java-version: 21 cache: maven - name: Download JS front @@ -117,26 +117,26 @@ jobs: - name: Download Liberica NIK env: #liberica-url: https://download.bell-sw.com/vm/22.3.2/bellsoft-liberica-vm-core-openjdk17.0.7+7-22.3.2+1-${{ matrix.jdk-suffix }} - liberica-url: https://download.bell-sw.com/vm/23.0.1/bellsoft-liberica-vm-core-openjdk20.0.2+10-23.0.1+1-${{ matrix.jdk-suffix }} + #liberica-url: https://download.bell-sw.com/vm/23.0.1/bellsoft-liberica-vm-core-openjdk20.0.2+10-23.0.1+1-${{ matrix.jdk-suffix }} + liberica-url: https://download.bell-sw.com/vm/23.1.0/bellsoft-liberica-vm-core-openjdk21+37-23.1.0+1-${{ matrix.jdk-suffix }} run: curl -sLo ${{ runner.temp }}/${{ matrix.jdk-suffix }} ${{ env.liberica-url }} if: ${{ runner.os != 'Linux' }} - uses: actions/setup-java@v3 with: - java-version: 20 + java-version: 21 distribution: jdkfile jdkFile: ${{ runner.temp }}/${{ matrix.jdk-suffix }} cache: maven - if: ${{ runner.os != 'Linux' }} + #if: ${{ runner.os != 'Linux' }} - uses: graalvm/setup-graalvm@v1 with: version: mandrel-latest - java-version: 20 - #distribution: mandrel + java-version: 21 cache: maven github-token: ${{ secrets.GITHUB_TOKEN }} - if: ${{ runner.os == 'Linux' }} + if: ${{ runner.os == 'Test-Linux' }} - name: (Windows) Set up compiler uses: ilammy/msvc-dev-cmd@v1 diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml index a6b81c435..f1a8cee32 100644 --- a/.github/workflows/sonarcloud.yml +++ b/.github/workflows/sonarcloud.yml @@ -26,11 +26,11 @@ jobs: with: fetch-depth: 0 # Shallow clone - - name: Set up JDK 20 + - name: Set up JDK 21 uses: actions/setup-java@v3 with: distribution: temurin - java-version: 20 + java-version: 21 cache: maven - name: Test with Maven diff --git a/pom.xml b/pom.xml index d9bc9b9e2..00396fc30 100644 --- a/pom.xml +++ b/pom.xml @@ -100,7 +100,7 @@ native - 20 + 21