Skip to content

Commit d001f3e

Browse files
committed
feat: Add gradle cache step
1 parent 23583ea commit d001f3e

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,16 @@ jobs:
2323
java-version: '17'
2424
distribution: 'adopt'
2525

26+
- name: Cache gradle
27+
uses: actions/cache@v4
28+
with:
29+
path: |
30+
~/.gradle/caches
31+
~/.gradle/wrapper
32+
key: gradle-${{ runner.os }}-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
33+
restore-keys: |
34+
gradle-${{ runner.os }}-
35+
2636
- name: Decode google-services.json
2737
run: echo "$GOOGLE_SERVICES_JSON_BASE64" | base64 -d > app/google-services.json
2838
env:

0 commit comments

Comments
 (0)