Skip to content

Commit 2dd7348

Browse files
authored
Cache gradle in GitHub workflow (#1684)
1 parent b79a30c commit 2dd7348

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
with:
2525
java-version: ${{ matrix.java }}
2626
distribution: 'corretto'
27+
cache: gradle
2728

2829
- name: clean and build
2930
run: ./gradlew clean build -Plog-tests
@@ -49,6 +50,7 @@ jobs:
4950
with:
5051
java-version: ${{ matrix.java }}
5152
distribution: 'corretto'
53+
cache: gradle
5254

5355
- name: clean and build
5456
run: ./gradlew clean build -Plog-tests
@@ -96,6 +98,7 @@ jobs:
9698
with:
9799
java-version: '17'
98100
distribution: 'corretto'
101+
cache: gradle
99102
- name: Install dependencies
100103
run: |
101104
yarn

0 commit comments

Comments
 (0)