Skip to content

Commit 74e7fbf

Browse files
committed
correct jdk caching, now that we have to cache two JDKs
1 parent d81c735 commit 74e7fbf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/actions/prepare_env/action.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ runs:
77
- name: Install System Dependencies
88
run: apt-get -qq update && apt-get -qq install -y make curl wget libjemalloc2 libjemalloc-dev
99
shell: bash
10-
- name: Cache JDK
10+
- name: Cache JDKs
1111
id: cache-jdk
1212
uses: actions/cache@v4
1313
continue-on-error: true
1414
with:
15-
path: /usr/lib/jvm/default-jdk/
16-
key: ${{ runner.os }}-jdk-${{ matrix.jdk_vendor }}-${{ hashFiles('/usr/lib/jvm/default-jdk/*') }}
15+
path: /usr/lib/jvm/
16+
key: ${{ runner.os }}-jdk-${{ matrix.jdk_vendor }}-${{ hashFiles('/usr/lib/jvm/*') }}
1717
restore-keys: |
18-
${{ runner.os }}-jdk-${{ matrix.jdk_vendor }}
18+
${{ runner.os }}-jdk-
1919
- name: Install JDK
2020
if: steps.cache-jdk.outputs.cache-hit != 'true'
2121
run: "bash -xc 'JDK_VENDOR=${{ matrix.jdk_vendor }} ./docker/install_jdk.sh'"

0 commit comments

Comments
 (0)