File tree 2 files changed +10
-0
lines changed
2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 58
58
if : runner.os == 'macOS'
59
59
run : sudo xcode-select -s /Applications/Xcode_${{ env.xcodeVersion }}.app/Contents/Developer
60
60
- name : Force Java 11
61
+ if : !startsWith(matrix.os, 'macos')
61
62
shell : bash
62
63
run : echo "JAVA_HOME=${JAVA_HOME_11_X64}" >> $GITHUB_ENV
64
+ - name : Force Java 11 (mac)
65
+ if : startsWith(matrix.os, 'macos')
66
+ shell : bash
67
+ run : echo "JAVA_HOME=${JAVA_HOME_11_arm64}" >> $GITHUB_ENV
63
68
- name : Store git credentials for all git commands
64
69
# Forces all git commands to use authenticated https, to prevent throttling.
65
70
shell : bash
Original file line number Diff line number Diff line change @@ -435,8 +435,13 @@ jobs:
435
435
ref : ${{needs.check_and_prepare.outputs.github_ref}}
436
436
submodules : true
437
437
- name : Force Java 11
438
+ if : !startsWith(matrix.os, 'macos')
438
439
shell : bash
439
440
run : echo "JAVA_HOME=${JAVA_HOME_11_X64}" >> $GITHUB_ENV
441
+ - name : Force Java 11 (mac)
442
+ if : startsWith(matrix.os, 'macos')
443
+ shell : bash
444
+ run : echo "JAVA_HOME=${JAVA_HOME_11_arm64}" >> $GITHUB_ENV
440
445
- name : Add msbuild to PATH (Windows)
441
446
if : startsWith(matrix.os, 'windows')
442
447
You can’t perform that action at this time.
0 commit comments