From 888ad819516d48744cb61489bd45772d21396bb7 Mon Sep 17 00:00:00 2001 From: Damien Goutte-Gattat Date: Wed, 18 Sep 2024 10:10:39 +0100 Subject: [PATCH] Switch GA workflows to use the Temurin JDK. The maintainers of the 'setup-java' GitHub Action recommends migrating from 'adopt' to 'temurin' [1], given that "AdoptOpenJDK got moved to Eclipse Temurin and won't be updated anymore". [1] https://github.com/actions/setup-java --- .github/workflows/ci.yml | 2 +- .github/workflows/publish.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2a0bf267a..7a91ce699 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,6 +19,6 @@ jobs: uses: actions/setup-java@v4 with: java-version: '11' - distribution: 'adopt' + distribution: 'temurin' - name: Run test suite run: mvn --batch-mode --activate-profiles ${{ matrix.profile }} --define release.signing.disabled=true clean verify diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 05dbe5d3c..057ecdb0b 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -14,7 +14,7 @@ jobs: uses: actions/setup-java@v4 with: java-version: '11' - distribution: 'adopt' + distribution: 'temurin' server-id: ossrh server-username: OSSRH_USERNAME server-password: OSSRH_TOKEN