Skip to content

Commit a88bcb0

Browse files
committed
integration_tests.yml: install java 8 for the test run, overriding java 11 previously installed for the Firestore emulator
1 parent 1880093 commit a88bcb0

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/integration_tests.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1146,7 +1146,7 @@ jobs:
11461146
uses: actions/setup-node@v2
11471147
with:
11481148
node-version: 14.x
1149-
- name: Setup java
1149+
- name: Setup java 17 (for Firestore emulator)
11501150
uses: actions/setup-java@v3
11511151
with:
11521152
distribution: 'temurin'
@@ -1156,6 +1156,11 @@ jobs:
11561156
run: |
11571157
npm install -g firebase-tools
11581158
firebase emulators:start --only firestore --project demo-example &
1159+
- name: Setup java 8 (for running the tests)
1160+
uses: actions/setup-java@v3
1161+
with:
1162+
distribution: 'temurin'
1163+
java-version: '8'
11591164
- name: Run Android integration tests on Emulator locally
11601165
timeout-minutes: 120
11611166
if: steps.get-device-type.outputs.device_type == 'virtual'

0 commit comments

Comments
 (0)