Skip to content

Commit

Permalink
ci: add setup-java to expo android build
Browse files Browse the repository at this point in the history
  • Loading branch information
KiwiKilian committed Nov 24, 2024
1 parent 3da1e4b commit 2f7c7be
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build-expo-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,11 @@ jobs:
- name: Setup
uses: ./.github/actions/setup

- name: Setup Azul Zulu OpenJDK
uses: actions/setup-java@v4
with:
distribution: zulu
java-version: 21

- name: Build Expo Android
run: yarn android
6 changes: 3 additions & 3 deletions .github/workflows/build-react-native-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ jobs:
- name: Setup
uses: ./.github/actions/setup

- name: Setup JDK Zulu 17
- name: Setup Azul Zulu OpenJDK
uses: actions/setup-java@v4
with:
distribution: "zulu"
java-version: "17"
distribution: zulu
java-version: 21

- name: Build Android
run: ./gradlew assemble
Expand Down

0 comments on commit 2f7c7be

Please sign in to comment.