Add caching of gradle packages on CI

This commit is contained in:
Kirill Kamakin
2022-05-28 10:52:34 +02:00
parent d613ca24b4
commit dcbf766213
2 changed files with 14 additions and 0 deletions

View File

@@ -27,6 +27,13 @@ jobs:
key: ${{ runner.os }}-sonar
restore-keys: ${{ runner.os }}-sonar
- name: Cache Gradle packages
uses: actions/cache@v1
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: ${{ runner.os }}-gradle
- name: Run tests
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}