diff --git a/.github/actions/setup-jdks/action.yml b/.github/actions/setup-jdks/action.yml index c440086a13..5afb6795da 100644 --- a/.github/actions/setup-jdks/action.yml +++ b/.github/actions/setup-jdks/action.yml @@ -20,7 +20,8 @@ runs: - name: 'Set up JDK 8' uses: actions/setup-java@v4 with: - distribution: 'temurin' + # Temurin JDK 8 for macos on ARM is not available: https://github.com/adoptium/adoptium/issues/96 + distribution: ${{ runner.os == 'macOS' && 'zulu' || 'temurin' }} java-version: 8 - name: Prepare JDK8 env var shell: bash