From 96ef97b00ca65281feab91eb75150eeaaa2512e6 Mon Sep 17 00:00:00 2001 From: vitalyster Date: Wed, 11 Nov 2020 03:33:20 +0300 Subject: CI: use Gradle caches (#10) --- .github/workflows/ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to '.github') 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 -- cgit v1.2.3