diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 2148b879..5cd080f7 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -12,10 +12,15 @@ on: jobs: test: - # The default Java on macos-12 is 11 - # https://github.com/actions/runner-images/blob/main/images/linux/Ubuntu2204-Readme.md#java + # The default Java on macos-12 is 8 + # https://github.com/actions/runner-images/blob/main/images/macos/macos-12-Readme.md#java runs-on: macos-12 steps: + # Use java 11 + - name: Set java home + run: | + echo "JAVA_HOME=$JAVA_HOME_11_X64" >> $GITHUB_ENV + echo "JAVA_HOME=$JAVA_HOME" - uses: actions/checkout@v3 - name: Build sdk run: ./gradlew sdk:assembleRelease