From f14ea9145a5e2bdc584c4ec6930d5b9cbe9c7656 Mon Sep 17 00:00:00 2001 From: Rickard Blomkvist Date: Wed, 31 Jan 2024 14:48:34 +0100 Subject: [PATCH] Use java 21 for all builds. --- .github/workflows/deploy_tag.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/deploy_tag.yml b/.github/workflows/deploy_tag.yml index 1eb362a8..2315a6e6 100644 --- a/.github/workflows/deploy_tag.yml +++ b/.github/workflows/deploy_tag.yml @@ -25,24 +25,24 @@ jobs: uses: actions/checkout@v4 with: ref: ${{ inputs.tag }} - - name: 'Download latest JDK 17' + - name: 'Download latest JDK 21' run: | wget \ --no-verbose \ --directory-prefix $RUNNER_TEMP \ - https://download.oracle.com/java/17/latest/jdk-17_linux-x64_bin.tar.gz + https://download.oracle.com/java/21/latest/jdk-21_linux-x64_bin.tar.gz - name: 'Set up JDK' uses: actions/setup-java@v3 with: - java-version: 17 + java-version: 21 distribution: jdkfile - jdkFile: ${{ runner.temp }}/jdk-17_linux-x64_bin.tar.gz + jdkFile: ${{ runner.temp }}/jdk-21_linux-x64_bin.tar.gz - name: Set up Java for publishing to Maven Central Repository uses: actions/setup-java@v3 with: - java-version: 17 + java-version: 21 distribution: jdkfile - jdkFile: ${{ runner.temp }}/jdk-17_linux-x64_bin.tar.gz + jdkFile: ${{ runner.temp }}/jdk-21_linux-x64_bin.tar.gz server-id: ossrh server-username: USER_NAME server-password: PASSWORD