From f856559e58f1214f9676736aaff520a2e9f9758a Mon Sep 17 00:00:00 2001 From: Mark Waite Date: Fri, 1 Apr 2022 07:29:18 -0600 Subject: [PATCH] Use Eclipse Temurin, not AdoptOpenJDK in action (#29) 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/cd.yml | 2 +- .github/workflows/ci.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 1496be5..bc60b8f 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -47,7 +47,7 @@ jobs: with: fetch-depth: 0 - name: Set up JDK 8 - uses: actions/setup-java@v3 + uses: actions/setup-java@v3.0.0 with: distribution: temurin java-version: 8 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7848abb..f49f108 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,10 +19,10 @@ jobs: uses: actions/checkout@v3 - name: Set up JDK 11 - uses: actions/setup-java@v3 + uses: actions/setup-java@v3.0.0 with: java-version: 11 - distribution: 'adopt' + distribution: 'temurin' server-id: github settings-path: ${{ github.workspace }}