Skip to content

Commit fdb8bdc

Browse files
committed
Use the correct Java 11 on Mac.
1 parent 0cc01cf commit fdb8bdc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/build_android.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,13 @@ jobs:
102102
brew install swig
103103
104104
- name: Force Java 11
105+
if: runner.os != 'macOS'
105106
shell: bash
106107
run: echo "JAVA_HOME=${JAVA_HOME_11_X64}" >> $GITHUB_ENV
108+
- name: Force Java 11 (mac)
109+
if: runner.os == 'macOS'
110+
shell: bash
111+
run: echo "JAVA_HOME=${JAVA_HOME_11_arm64}" >> $GITHUB_ENV
107112

108113
- name: Install python deps
109114
shell: bash

0 commit comments

Comments
 (0)