Skip to content

Commit

Permalink
Use cache in gradle Action to speed up build
Browse files Browse the repository at this point in the history
  • Loading branch information
francisduvivier committed Sep 29, 2020
1 parent 77c1225 commit 866be02
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 866be02

Please sign in to comment.