From e15792a30156475f8c18950c335e79f2de06d00b Mon Sep 17 00:00:00 2001 From: George Adams Date: Wed, 21 Dec 2022 17:04:54 +0000 Subject: [PATCH] Migrate setup-java action to use Temurin AdoptOpenJDK has moved to the Eclipse Foundation and now distributes binaries under the new name "Eclipse Temurin" --- .github/workflows/build.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 31163ebb7..133037e3c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -39,7 +39,7 @@ jobs: - name: set up Java 11 uses: actions/setup-java@v2 with: - distribution: 'adopt' + distribution: 'temurin' java-version: '11' - name: Uninstall NDK @@ -61,7 +61,7 @@ jobs: - name: set up Java 11 uses: actions/setup-java@v2 with: - distribution: 'adopt' + distribution: 'temurin' java-version: '11' - name: Build and check @@ -77,7 +77,7 @@ jobs: - name: set up Java 11 uses: actions/setup-java@v2 with: - distribution: 'adopt' + distribution: 'temurin' java-version: '11' - name: Uninstall NDK @@ -99,7 +99,7 @@ jobs: - name: set up Java 11 uses: actions/setup-java@v2 with: - distribution: 'adopt' + distribution: 'temurin' java-version: '11' - name: Build and check @@ -124,4 +124,4 @@ jobs: - build-Snippets - build-tutorials steps: - - run: echo "Fail if all other steps are not successful" \ No newline at end of file + - run: echo "Fail if all other steps are not successful"