Skip to content

Commit

Permalink
Only use zulu on arm macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
Vampire committed Aug 8, 2024
1 parent d8ea1ce commit 267d269
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/setup-jdks/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ runs:
uses: actions/setup-java@v4
with:
# Temurin JDK 8 for macos on ARM is not available: https://github.com/adoptium/adoptium/issues/96
distribution: ${{ runner.os == 'macOS' && 'zulu' || 'temurin' }}
distribution: ${{ ((runner.os == 'macOS') && (runner.arch == 'ARM64')) && 'zulu' || 'temurin' }}
java-version: 8
- name: Prepare JDK8 env var
shell: bash
Expand Down

0 comments on commit 267d269

Please sign in to comment.