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

Commit 9ad1582

Browse files
Remove maven from cache action
Baselisk handles its own caching
1 parent d12f796 commit 9ad1582

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,12 @@ jobs:
2222
runs-on: ubuntu-latest
2323
env:
2424
FORCE_COLOR: '1'
25-
JAVA_VERSION: 21
2625
steps:
2726
- name: Setup Java
2827
uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
2928
with:
3029
distribution: adopt-hotspot
31-
java-version: ${{ env.JAVA_VERSION }}
30+
java-version: 21
3231
java-package: jdk
3332
architecture: x64
3433
- name: Setup Bazelisk
@@ -53,10 +52,8 @@ jobs:
5352
- name: Yarn and maven cache
5453
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # 4.2.3
5554
with:
56-
path: |
57-
${{ env.yarn_cache_dir }}
58-
~/.m2/repository
59-
key: ${{ runner.os }}-yarn-mvn-java${{ env.JAVA_VERSION }}-${{ hashFiles('**/yarn.lock', '**/pom.xml') }}
55+
path: ${{ env.yarn_cache_dir }}
56+
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
6057
- name: Install packages
6158
run: yarn install --colors=always
6259
- name: Build jar

0 commit comments

Comments
 (0)