Skip to content
This repository was archived by the owner on Nov 19, 2025. It is now read-only.

Commit d12f796

Browse files
Update build cache key
1 parent cc55fa7 commit d12f796

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,13 @@ jobs:
2222
runs-on: ubuntu-latest
2323
env:
2424
FORCE_COLOR: '1'
25+
JAVA_VERSION: 21
2526
steps:
2627
- name: Setup Java
2728
uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
2829
with:
2930
distribution: adopt-hotspot
30-
java-version: 21
31+
java-version: ${{ env.JAVA_VERSION }}
3132
java-package: jdk
3233
architecture: x64
3334
- name: Setup Bazelisk
@@ -55,7 +56,7 @@ jobs:
5556
path: |
5657
${{ env.yarn_cache_dir }}
5758
~/.m2/repository
58-
key: ${{ runner.os }}-yarn-mvn-java11-${{ hashFiles('**/yarn.lock', '**/pom.xml') }}
59+
key: ${{ runner.os }}-yarn-mvn-java${{ env.JAVA_VERSION }}-${{ hashFiles('**/yarn.lock', '**/pom.xml') }}
5960
- name: Install packages
6061
run: yarn install --colors=always
6162
- name: Build jar

0 commit comments

Comments
 (0)