File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -58,11 +58,11 @@ jobs:
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
+ if : runner .os != 'macOS'
62
62
shell : bash
63
63
run : echo "JAVA_HOME=${JAVA_HOME_11_X64}" >> $GITHUB_ENV
64
64
- name : Force Java 11 (mac)
65
- if : startsWith(matrix .os, 'macos')
65
+ if : runner .os == 'macOS'
66
66
shell : bash
67
67
run : echo "JAVA_HOME=${JAVA_HOME_11_arm64}" >> $GITHUB_ENV
68
68
- name : Store git credentials for all git commands
Original file line number Diff line number Diff line change @@ -435,11 +435,11 @@ 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
+ if : ${{ runner .os != 'macOS' }}
439
439
shell : bash
440
440
run : echo "JAVA_HOME=${JAVA_HOME_11_X64}" >> $GITHUB_ENV
441
441
- name : Force Java 11 (mac)
442
- if : startsWith(matrix .os, 'macos')
442
+ if : ${{ runner .os == 'macOS' }}
443
443
shell : bash
444
444
run : echo "JAVA_HOME=${JAVA_HOME_11_arm64}" >> $GITHUB_ENV
445
445
- name : Add msbuild to PATH (Windows)
You can’t perform that action at this time.
0 commit comments