Skip to content

Commit

Permalink
Use Java 11 for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
05nelsonm committed Mar 18, 2024
1 parent 6e5a58f commit 096d0c2
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,16 @@ jobs:
key: ${{ runner.os }}-gradle-caches-${{ hashFiles('**/*.gradle.kts') }}-${{ hashFiles('gradle/libs.versions.toml') }}
restore-keys: ${{ runner.os }}-gradle-caches-

- name: Setup JDK
# Windows does not build ANDROID, but needs Java 11 for JPMS Multi-Release Jar build
- name: Setup JDK 11
if: matrix.os == 'windows-latest'
uses: actions/[email protected]
with:
distribution: 'zulu'
java-version: 11

- name: Setup JDK 19
if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest'
uses: actions/[email protected]
with:
distribution: 'zulu'
Expand Down

0 comments on commit 096d0c2

Please sign in to comment.