Skip to content

Commit b13e3d6

Browse files
committed
configure Maven cache
1 parent bb6b5fb commit b13e3d6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ jobs:
1313
uses: actions/setup-java@v5
1414
with:
1515
java-version: '25'
16+
cache: 'maven'
1617
distribution: 'temurin'
1718
- name: Build and run tests
1819
run: mvn verify
@@ -27,6 +28,7 @@ jobs:
2728
with:
2829
java-version: '25'
2930
distribution: 'graalvm-community'
31+
cache: 'maven'
3032
- name: Run tests with native-image
3133
run: mvn test -PnativeTest
3234
publish:
@@ -46,6 +48,7 @@ jobs:
4648
with:
4749
java-version: '25'
4850
distribution: 'graalvm-community'
51+
cache: 'maven'
4952
- name: Build native-image
5053
run: "mvn native:compile -Pnative -Pprod '-P!dev'"
5154
- name: Build Docker image

0 commit comments

Comments
 (0)