File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -58,11 +58,11 @@ jobs:
5858 if : runner.os == 'macOS'
5959 run : sudo xcode-select -s /Applications/Xcode_${{ env.xcodeVersion }}.app/Contents/Developer
6060 - name : Force Java 11
61- if : !startsWith(matrix .os, 'macos')
61+ if : runner .os != 'macOS'
6262 shell : bash
6363 run : echo "JAVA_HOME=${JAVA_HOME_11_X64}" >> $GITHUB_ENV
6464 - name : Force Java 11 (mac)
65- if : startsWith(matrix .os, 'macos')
65+ if : runner .os == 'macOS'
6666 shell : bash
6767 run : echo "JAVA_HOME=${JAVA_HOME_11_arm64}" >> $GITHUB_ENV
6868 - name : Store git credentials for all git commands
Original file line number Diff line number Diff line change @@ -435,11 +435,11 @@ jobs:
435435 ref : ${{needs.check_and_prepare.outputs.github_ref}}
436436 submodules : true
437437 - name : Force Java 11
438- if : !startsWith(matrix .os, 'macos')
438+ if : ${{ runner .os != 'macOS' }}
439439 shell : bash
440440 run : echo "JAVA_HOME=${JAVA_HOME_11_X64}" >> $GITHUB_ENV
441441 - name : Force Java 11 (mac)
442- if : startsWith(matrix .os, 'macos')
442+ if : ${{ runner .os == 'macOS' }}
443443 shell : bash
444444 run : echo "JAVA_HOME=${JAVA_HOME_11_arm64}" >> $GITHUB_ENV
445445 - name : Add msbuild to PATH (Windows)
You can’t perform that action at this time.
0 commit comments