From daa122eb9353e7336f7d529d6c2b0e33489f91cf Mon Sep 17 00:00:00 2001 From: George Gastaldi Date: Thu, 14 Nov 2024 08:03:55 -0300 Subject: [PATCH] Use JDK 21 when releasing --- .github/workflows/build.yml | 4 ---- .github/workflows/release-perform.yml | 1 + .github/workflows/release-prepare.yml | 2 ++ 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ad705bbd..51f32bbe 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -53,9 +53,5 @@ jobs: java-version: 21 cache: 'maven' - - name: Display settings.xml - run: | - cat /home/runner/.m2/settings.xml - - name: Build with Maven run: mvn -B clean install -Dno-format diff --git a/.github/workflows/release-perform.yml b/.github/workflows/release-perform.yml index 88f9437f..16475370 100644 --- a/.github/workflows/release-perform.yml +++ b/.github/workflows/release-perform.yml @@ -26,3 +26,4 @@ jobs: secrets: inherit with: version: ${{github.event.inputs.tag || github.ref_name}} + java_version: 21 diff --git a/.github/workflows/release-prepare.yml b/.github/workflows/release-prepare.yml index d8065b95..78781de4 100644 --- a/.github/workflows/release-prepare.yml +++ b/.github/workflows/release-prepare.yml @@ -17,3 +17,5 @@ jobs: if: ${{ github.event.pull_request.merged == true}} uses: quarkiverse/.github/.github/workflows/prepare-release.yml@main secrets: inherit + with: + java_version: 21