From cac390ab07fe510399229458165166fb8de8db1a Mon Sep 17 00:00:00 2001 From: Edgar Asatryan Date: Sat, 25 Sep 2021 23:30:21 +0400 Subject: [PATCH] chore(ci): Use setup-java's Gradle cache. --- .github/workflows/build.yaml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 606e473..615a888 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -17,18 +17,13 @@ jobs: uses: actions/setup-java@v1 with: java-version: 11 + cache: 'gradle' - name: Cache SonarCloud packages uses: actions/cache@v1 with: path: ~/.sonar/cache 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: Build run: ./gradlew build --stacktrace - name: Analyze