Skip to content

Commit af4a91f

Browse files
committed
Add GHA gradle cache
1 parent 7ffd595 commit af4a91f

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/android.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,15 @@ jobs:
1717
with:
1818
java-version: 1.8
1919

20+
- uses: actions/cache@v2
21+
with:
22+
path: |
23+
~/.gradle/caches
24+
~/.gradle/wrapper
25+
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
26+
restore-keys: |
27+
${{ runner.os }}-gradle-
28+
2029
- run: ./gradlew lint --stacktrace
2130

2231
apk:
@@ -31,6 +40,15 @@ jobs:
3140
with:
3241
java-version: 1.8
3342

43+
- uses: actions/cache@v2
44+
with:
45+
path: |
46+
~/.gradle/caches
47+
~/.gradle/wrapper
48+
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
49+
restore-keys: |
50+
${{ runner.os }}-gradle-
51+
3452
- run: echo ${{ secrets.SIGNING_STORE_FILE }} | base64 -d > app/release.keystore
3553

3654
- run: |

0 commit comments

Comments
 (0)