@@ -277,6 +277,9 @@ jobs:
277
277
run : |
278
278
git config --global credential.helper 'store --file /tmp/git-credentials'
279
279
echo 'https://${{ github.token }}@github.com' > /tmp/git-credentials
280
+ - name : Enable Git Long-paths Support
281
+ if : runner.os == 'Windows'
282
+ run : git config --system core.longpaths true
280
283
- name : Set env vars (Linux)
281
284
if : startsWith(matrix.os, 'ubuntu')
282
285
run : echo "VCPKG_TRIPLET=x64-linux" >> $GITHUB_ENV
@@ -471,6 +474,9 @@ jobs:
471
474
run : |
472
475
git config --global credential.helper 'store --file /tmp/git-credentials'
473
476
echo 'https://${{ github.token }}@github.com' > /tmp/git-credentials
477
+ - name : Enable Git Long-paths Support
478
+ if : runner.os == 'Windows'
479
+ run : git config --system core.longpaths true
474
480
- name : Add msbuild to PATH (Windows)
475
481
if : startsWith(matrix.os, 'windows')
476
482
@@ -1140,11 +1146,21 @@ jobs:
1140
1146
uses : actions/setup-node@v2
1141
1147
with :
1142
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'
1143
1154
- name : Setup Firestore Emulator
1144
1155
if : steps.get-device-type.outputs.device_type == 'virtual' && contains(needs.check_and_prepare.outputs.apis, 'firestore')
1145
1156
run : |
1146
1157
npm install -g firebase-tools
1147
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'
1148
1164
- name : Run Android integration tests on Emulator locally
1149
1165
timeout-minutes : 120
1150
1166
if : steps.get-device-type.outputs.device_type == 'virtual'
@@ -1245,6 +1261,11 @@ jobs:
1245
1261
uses : actions/setup-node@v2
1246
1262
with :
1247
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'
1248
1269
- name : Setup Firestore Emulator
1249
1270
if : steps.get-device-type.outputs.device_type == 'virtual' && contains(needs.check_and_prepare.outputs.apis, 'firestore')
1250
1271
run : |
@@ -1344,6 +1365,11 @@ jobs:
1344
1365
timeout_minutes : 1
1345
1366
max_attempts : 3
1346
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'
1347
1373
- name : Setup Firestore Emulator
1348
1374
if : contains(needs.check_and_prepare.outputs.apis, 'firestore')
1349
1375
run : |
0 commit comments