Use cache in gradle Action to speed up build
@@ -26,6 +26,12 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: 1.8
+ - name: Cache Gradle packages
+ uses: actions/cache@v2
+ with:
+ path: ~/.gradle/caches
+ key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
+ restore-keys: ${{ runner.os }}-gradle
- name: Style
run: |
cd android
