aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yml
diff options
context:
space:
mode:
authorGravatar vitalyster2020-11-11 03:33:20 +0300
committerGravatar GitHub2020-11-11 03:33:20 +0300
commit96ef97b00ca65281feab91eb75150eeaaa2512e6 (patch)
tree0bf065a907a80e242e1a9442309705e365cbdcaf /.github/workflows/ci.yml
parent706977188565b675fb6334e6e9ddac6fa32e9488 (diff)
CI: use Gradle caches (#10)
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r--.github/workflows/ci.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index c2754e89..d23beb46 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -13,5 +13,11 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: 15
+ - name: Cache Gradle packages
+ uses: actions/cache@v2
+ with:
+ path: ~/.gradle/caches
+ key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
+ restore-keys: ${{ runner.os }}-gradle
- name: Build
run: gradle check