From a4f7e842338c222302e16a2dcd38a7a473568ef2 Mon Sep 17 00:00:00 2001 From: Mark Waite Date: Sun, 27 Mar 2022 08:15:02 -0600 Subject: [PATCH 1/2] Use Eclipse Temurin, not AdoptOpenJDK in action The 'adopt' distribution has moved to Eclipse Temurin. It won't be updated at the AdoptOpenJDK location. See https://github.com/jenkinsci/jenkins/pull/6406 https://github.com/actions/setup-java/blob/main/docs/advanced-usage.md#adopt https://github.com/actions/setup-java#usage --- .github/workflows/maven.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 0cf5d093..4c4f8d3e 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -21,9 +21,9 @@ jobs: - uses: actions/checkout@v3 - name: Set up JDK ${{ matrix.java }} - uses: actions/setup-java@v2 + uses: actions/setup-java@v3.0.0 with: - distribution: 'adopt' + distribution: 'temurin' java-version: ${{ matrix.java }} - name: Cache dependencies From a34c470e84b83709a2c04302829d8d1e14f9beb2 Mon Sep 17 00:00:00 2001 From: Tim Jacomb <21194782+timja@users.noreply.github.com> Date: Sun, 27 Mar 2022 16:46:42 +0100 Subject: [PATCH 2/2] Update .github/workflows/maven.yml --- .github/workflows/maven.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 4c4f8d3e..e318a99a 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -21,7 +21,7 @@ jobs: - uses: actions/checkout@v3 - name: Set up JDK ${{ matrix.java }} - uses: actions/setup-java@v3.0.0 + uses: actions/setup-java@v3 with: distribution: 'temurin' java-version: ${{ matrix.java }}