From 866be02e7b5b0bd86a96b8955ffb183c228c0050 Mon Sep 17 00:00:00 2001 From: Francis Duvivier Date: Tue, 29 Sep 2020 23:36:46 +0200 Subject: [PATCH] Use cache in gradle Action to speed up build --- .github/workflows/gradle.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 964ad2023..eac23aecf 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -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