Skip to content

Commit

Permalink
CI: Update tests workflow java to 17
Browse files Browse the repository at this point in the history
Address CI error in running tests

java.lang.UnsupportedClassVersionError: com/android/sdklib/tool/sdkmanager/SdkManagerCli has been compiled
by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime
only recognizes class file versions up to 55.0
  • Loading branch information
justin-stephenson committed Jun 12, 2024
1 parent 2c43f96 commit d076b15
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ jobs:
run: ./gradlew build -x lint

tests:
runs-on: macos-latest
runs-on: macos-13
steps:
- name: Checkout project sources
uses: actions/checkout@v3

- name: Set up JDK 11
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: 11
java-version: 17
distribution: 'adopt'
cache: 'gradle'

Expand Down

0 comments on commit d076b15

Please sign in to comment.