Skip to content

Commit 6e7b6fa

Browse files
committed
env too?
1 parent ec05cc1 commit 6e7b6fa

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/runtime_build_and_test.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ env:
2323
TZ: /usr/share/zoneinfo/America/Los_Angeles
2424
# https://github.com/actions/cache/blob/main/tips-and-workarounds.md#cache-segment-restore-timeout
2525
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 1
26+
JAVA_HOME: ${{ env.JAVA_HOME_21_X64 }}
2627

2728
jobs:
2829
# ----- NODE_MODULES CACHE -----
@@ -172,6 +173,10 @@ jobs:
172173
node-version-file: '.nvmrc'
173174
cache: yarn
174175
cache-dependency-path: yarn.lock
176+
- uses: actions/setup-java@v4
177+
with:
178+
distribution: temurin
179+
java-version: '21'
175180
- name: Restore cached node_modules
176181
uses: actions/cache/restore@v4
177182
id: node_modules

0 commit comments

Comments
 (0)