From 271053ba68e5399d335668cdcfc6ab37d1f04ce8 Mon Sep 17 00:00:00 2001 From: Marcin Mazurek <63855724+bbzurek@users.noreply.github.com> Date: Mon, 8 Apr 2024 09:35:32 +0100 Subject: [PATCH] update to java 21 --- .github/workflows/maven-publish.yml | 4 ++-- .github/workflows/maven-verify.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml index 4621d06..7d6239c 100644 --- a/.github/workflows/maven-publish.yml +++ b/.github/workflows/maven-publish.yml @@ -18,10 +18,10 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Set up JDK 17 + - name: Set up JDK 21 uses: actions/setup-java@v2 with: - java-version: '17' + java-version: '21' distribution: 'adopt' server-id: github # Value of the distributionManagement/repository/id field of the pom.xml settings-path: ${{ github.workspace }} # location for the settings.xml file diff --git a/.github/workflows/maven-verify.yml b/.github/workflows/maven-verify.yml index 536fd13..e47b998 100644 --- a/.github/workflows/maven-verify.yml +++ b/.github/workflows/maven-verify.yml @@ -24,9 +24,9 @@ jobs: # restore-keys: | # ${{ runner.os }}-maven- - uses: actions/setup-java@v2 - name: Set up JDK 17 + name: Set up JDK 21 with: - java-version: '17' + java-version: '21' distribution: 'adopt' # - name: Set up Apache Maven Central # uses: actions/setup-java@v2