@@ -1146,11 +1146,21 @@ jobs:
1146
1146
uses : actions/setup-node@v2
1147
1147
with :
1148
1148
node-version : 14.x
1149
+ - name : Setup java 17 for Firestore emulator
1150
+ uses : actions/setup-java@v3
1151
+ with :
1152
+ distribution : ' temurin'
1153
+ java-version : ' 17'
1149
1154
- name : Setup Firestore Emulator
1150
1155
if : steps.get-device-type.outputs.device_type == 'virtual' && contains(needs.check_and_prepare.outputs.apis, 'firestore')
1151
1156
run : |
1152
1157
npm install -g firebase-tools
1153
1158
firebase emulators:start --only firestore --project demo-example &
1159
+ - name : Setup java 8 for test_simulator.py
1160
+ uses : actions/setup-java@v3
1161
+ with :
1162
+ distribution : ' temurin'
1163
+ java-version : ' 8'
1154
1164
- name : Run Android integration tests on Emulator locally
1155
1165
timeout-minutes : 120
1156
1166
if : steps.get-device-type.outputs.device_type == 'virtual'
@@ -1251,6 +1261,11 @@ jobs:
1251
1261
uses : actions/setup-node@v2
1252
1262
with :
1253
1263
node-version : 14.x
1264
+ - name : Setup java for Firestore emulator
1265
+ uses : actions/setup-java@v3
1266
+ with :
1267
+ distribution : ' temurin'
1268
+ java-version : ' 17'
1254
1269
- name : Setup Firestore Emulator
1255
1270
if : steps.get-device-type.outputs.device_type == 'virtual' && contains(needs.check_and_prepare.outputs.apis, 'firestore')
1256
1271
run : |
@@ -1350,6 +1365,11 @@ jobs:
1350
1365
timeout_minutes : 1
1351
1366
max_attempts : 3
1352
1367
command : pip install -r scripts/gha/requirements.txt
1368
+ - name : Setup java for Firestore emulator
1369
+ uses : actions/setup-java@v3
1370
+ with :
1371
+ distribution : ' temurin'
1372
+ java-version : ' 17'
1353
1373
- name : Setup Firestore Emulator
1354
1374
if : contains(needs.check_and_prepare.outputs.apis, 'firestore')
1355
1375
run : |
0 commit comments