Skip to content

Commit

Permalink
Use java 11 in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
tung2744 committed Nov 3, 2023
1 parent 8d39602 commit cd10265
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cd10265

Please sign in to comment.