Skip to content

Commit ed5f593

Browse files
committed
Fix yaml files.
1 parent 686f120 commit ed5f593

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/android.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

.github/workflows/integration_tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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)

0 commit comments

Comments
 (0)