Skip to content

Commit 7d8add4

Browse files
committed
Cache Gradle dependencies
1 parent 22df9bf commit 7d8add4

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/pr_workflow.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
with:
1919
java-version: 21
2020
distribution: temurin
21+
cache: gradle
2122
- name: Set up Docker
2223
uses: docker/setup-docker-action@3fb92d6d9c634363128c8cce4bc3b2826526370a # v4.4.0
2324
with:

.github/workflows/test_and_build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626
with:
2727
java-version: 21
2828
distribution: temurin
29+
cache: gradle
2930
- name: Set up Docker
3031
uses: docker/setup-docker-action@3fb92d6d9c634363128c8cce4bc3b2826526370a # v4.4.0
3132
with:
@@ -51,6 +52,7 @@ jobs:
5152
with:
5253
java-version: 21
5354
distribution: temurin
55+
cache: gradle
5456
- name: Release with Gradle
5557
run: ./gradlew githubRelease
5658
env:

0 commit comments

Comments
 (0)