Skip to content

Commit 9541a01

Browse files
added java
1 parent 5ef72c0 commit 9541a01

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/emulator-test.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,15 @@ jobs:
1818
with:
1919
project_id: dummy-project
2020
install_components: 'beta'
21-
- name: Install Java & netcat (required by emulator)
21+
- name: Setup Java 21 (Temurin) and netcat
22+
uses: actions/setup-java@v4
23+
with:
24+
distribution: 'temurin'
25+
java-version: '21'
26+
- name: Install netcat
2227
run: |
2328
sudo apt-get update
24-
# Datastore emulator requires a JRE on the runner
25-
sudo apt-get install -y default-jre-headless netcat-openbsd
29+
sudo apt-get install -y netcat-openbsd
2630
java -version || true
2731
- name: Install Datastore emulator component
2832
run: |

0 commit comments

Comments
 (0)