From e88603052f87a8db3f0e97e61f880ed876d47ff3 Mon Sep 17 00:00:00 2001 From: Mark Waite Date: Fri, 22 Apr 2022 05:53:01 -0600 Subject: [PATCH] Use Eclipse Temurin for action, not AdoptOpenJDK See https://github.com/jenkinsci/jenkins/pull/6406 for more details The 'adopt' distribution has moved to Eclipse Temurin and won't be updated at the AdoptOpenJDK location. Switch to the Temurin distribution so that we use a current version of Java. --- .github/workflows/cd.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml index 80580c6..c757665 100644 --- a/.github/workflows/cd.yaml +++ b/.github/workflows/cd.yaml @@ -49,11 +49,11 @@ jobs: - name: Set up JDK 8 uses: actions/setup-java@v3 with: - distribution: 'adopt' + distribution: 'temurin' java-version: 8 - name: Release uses: jenkins-infra/jenkins-maven-cd-action@v1.2.0 with: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }} - MAVEN_TOKEN: ${{ secrets.MAVEN_TOKEN }} \ No newline at end of file + MAVEN_TOKEN: ${{ secrets.MAVEN_TOKEN }}