Skip to content

Commit

Permalink
Fix JDK 8 build on GH Actions with macos 14
Browse files Browse the repository at this point in the history
By switching to Zulu for ARM - Temurin JDK 8 is not available for ARM -
adoptium/adoptium#96

Co-authored-by: Leonard Brünings <[email protected]>
  • Loading branch information
szpak and leonard84 authored May 14, 2024
1 parent 53f388d commit 0b2e519
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/actions/setup-jdks/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0b2e519

Please sign in to comment.