Skip to content

Commit 4fafe16

Browse files
committed
Change Java version in CI build too.
1 parent 3949acb commit 4fafe16

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/android.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,9 @@ jobs:
5454
- name: setup Xcode version (macos)
5555
if: runner.os == 'macOS'
5656
run: sudo xcode-select -s /Applications/Xcode_${{ env.xcodeVersion }}.app/Contents/Developer
57-
- name: Force Java 8 (macOS)
58-
if: startsWith(matrix.os, 'macos')
57+
- name: Force Java 11
5958
shell: bash
60-
run: echo "JAVA_HOME=${JAVA_HOME_8_X64}" >> $GITHUB_ENV
59+
run: echo "JAVA_HOME=${JAVA_HOME_11_X64}" >> $GITHUB_ENV
6160
- name: Store git credentials for all git commands
6261
# Forces all git commands to use authenticated https, to prevent throttling.
6362
shell: bash

0 commit comments

Comments
 (0)