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

Commit d6bc94a

Browse files
author
Denys Panchenko
committed
Move Java version to later stage
1 parent 42328ef commit d6bc94a

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

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

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,6 @@ jobs:
1515
steps:
1616
- name: Checkout
1717
uses: actions/checkout@v3
18-
- name: Setup Java
19-
uses: actions/setup-java@v3
20-
with:
21-
distribution: 'microsoft'
22-
java-version: '11'
2318
- name: Start adb server
2419
run: adb devices
2520
- name: Download system image "android-${{ matrix.api-level }}"
@@ -38,6 +33,11 @@ jobs:
3833
run: npm install react-native-cli
3934
- name: Install react-native
4035
run: npm install react-native
36+
- name: Setup Java
37+
uses: actions/setup-java@v3
38+
with:
39+
distribution: 'microsoft'
40+
java-version: '11'
4141
- name: test:android
4242
run: npm run test:android
4343

@@ -51,6 +51,8 @@ jobs:
5151
run: npm install
5252
- name: Install react-native-cli
5353
run: npm install react-native-cli
54+
- name: Install reacti-native
55+
run: npm install react-native
5456
- name: Build tests
5557
run: npm run build:tests
5658
- name: Setup tests

0 commit comments

Comments
 (0)