Skip to content

Commit

Permalink
fix(CI): run Android e2e with JDK 17 (software-mansion#1892)
Browse files Browse the repository at this point in the history
## Description

Attempt to improve our e2e CI run time by adding cache for JDK setup. 
Also use JDK 17, it is not necessary yet, but it will be soon as AGP 8.0
requires it.

## Changes

Upgraded JDK to 17 & added JDK cache.

I've also experimented with running on `ubuntu-latest` instead of
`macos-12` however emulator fails to start in such case.


## Checklist

- [x] Ensured that CI passes
  • Loading branch information
kkafar authored and ja1ns committed Oct 9, 2024
1 parent 3330e27 commit 80b9a9a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/android-e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,12 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v1
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '11'
java-version: '17'
distribution: 'zulu'
cache: 'gradle'
- name: Use Node.js 18
uses: actions/setup-node@v3
with:
Expand Down

0 comments on commit 80b9a9a

Please sign in to comment.