From 0309e9d6bcc51c821a1a8cea5aade2d08e626a0d Mon Sep 17 00:00:00 2001 From: Mark Waite Date: Sun, 27 Mar 2022 08:29:14 -0600 Subject: [PATCH] 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/build.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 2a160e9..4542d7d 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -9,10 +9,10 @@ jobs: steps: - uses: actions/checkout@v2 - name: Set up JDK 11 - uses: actions/setup-java@v2 + uses: actions/setup-java@v3.0.0 with: java-version: '11' - distribution: 'adopt' + distribution: 'temurin' cache: 'maven' - name: Build with Maven run: mvn --batch-mode --update-snapshots verify