@@ -1146,11 +1146,21 @@ jobs:
11461146 uses : actions/setup-node@v2
11471147 with :
11481148 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'
11491154 - name : Setup Firestore Emulator
11501155 if : steps.get-device-type.outputs.device_type == 'virtual' && contains(needs.check_and_prepare.outputs.apis, 'firestore')
11511156 run : |
11521157 npm install -g firebase-tools
11531158 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'
11541164 - name : Run Android integration tests on Emulator locally
11551165 timeout-minutes : 120
11561166 if : steps.get-device-type.outputs.device_type == 'virtual'
@@ -1251,6 +1261,11 @@ jobs:
12511261 uses : actions/setup-node@v2
12521262 with :
12531263 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'
12541269 - name : Setup Firestore Emulator
12551270 if : steps.get-device-type.outputs.device_type == 'virtual' && contains(needs.check_and_prepare.outputs.apis, 'firestore')
12561271 run : |
@@ -1350,6 +1365,11 @@ jobs:
13501365 timeout_minutes : 1
13511366 max_attempts : 3
13521367 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'
13531373 - name : Setup Firestore Emulator
13541374 if : contains(needs.check_and_prepare.outputs.apis, 'firestore')
13551375 run : |
0 commit comments