From df0feab9049548120362822c7af1919cf9e245d6 Mon Sep 17 00:00:00 2001 From: Mark Waite Date: Sun, 27 Mar 2022 09:45:45 -0600 Subject: [PATCH] Use Eclipse Temurin, not AdoptOpenJDK in action (#18) * 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 * Update .github/workflows/cd.yml Co-authored-by: Tim Jacomb <21194782+timja@users.noreply.github.com> --- .github/workflows/cd.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index baf58be..cd19ba7 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -47,9 +47,9 @@ jobs: with: fetch-depth: 0 - name: Set up JDK 8 - uses: actions/setup-java@v2 + 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