From c87dfef7c07a3626ccf79f8ee85ba54e452a10f6 Mon Sep 17 00:00:00 2001 From: Mark Waite Date: Mon, 28 Mar 2022 01:21:24 -0600 Subject: [PATCH] Use Eclipse Temurin, not AdoptOpenJDK in action (#209) 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/Archive_Plugin_Artifact.yml | 2 +- .github/workflows/CI.yml | 2 +- .github/workflows/cd.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/Archive_Plugin_Artifact.yml b/.github/workflows/Archive_Plugin_Artifact.yml index 09a7272..5f54fb0 100644 --- a/.github/workflows/Archive_Plugin_Artifact.yml +++ b/.github/workflows/Archive_Plugin_Artifact.yml @@ -17,7 +17,7 @@ jobs: uses: actions/checkout@v3 - uses: actions/setup-java@v3.0.0 with: - distribution: 'adopt' + distribution: 'temurin' java-version: '8' - name: Build run: mvn -Dmaven.test.skip=true -Dspotbugs.skip=true --batch-mode --show-version clean install diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 2691fdb..a071053 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -20,7 +20,7 @@ jobs: uses: actions/checkout@v3 - uses: actions/setup-java@v3.0.0 with: - distribution: 'adopt' + distribution: 'temurin' java-version: '8' - name: Build run: mvn -Pjacoco clean verify --batch-mode --show-version diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index b262ee1..d15e78f 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -54,7 +54,7 @@ jobs: - name: Set up JDK 8 uses: actions/setup-java@v3.0.0 with: - distribution: 'adopt' + distribution: 'temurin' java-version: 8 - name: Release uses: jenkins-infra/jenkins-maven-cd-action@v1.2.0