Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit c89d947

Browse files
Use 2 types of java versions
1 parent ba0acf4 commit c89d947

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/react-native-code-push-ci.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,14 @@ jobs:
1212
strategy:
1313
matrix:
1414
api-level: [ 27 ]
15-
java-version: [ 8 ]
1615
steps:
1716
- name: Checkout
1817
uses: actions/checkout@v3
19-
- name: Setup Java
18+
- name: Setup Java for sdkmanager
2019
uses: actions/setup-java@v3
2120
with:
2221
distribution: zulu
23-
java-version: ${{ matrix.java-version }}
22+
java-version: '8'
2423
- name: Start adb server
2524
run: adb devices
2625
- name: Gradle cache
@@ -36,6 +35,11 @@ jobs:
3635
- run: adb shell settings put global window_animation_scale 0.0
3736
- run: adb shell settings put global transition_animation_scale 0.0
3837
- run: adb shell settings put global animator_duration_scale 0.0
38+
- name: Setup Java for Android build
39+
uses: actions/setup-java@v3
40+
with:
41+
distribution: microsoft
42+
java-version: '11'
3943
- name: Setup Ruby
4044
uses: ruby/setup-ruby@v1
4145
with:

0 commit comments

Comments
 (0)