diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c0a60d05..2af9ce51 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,7 +18,7 @@ jobs: - uses: actions/cache@v2 with: path: ~/.gradle/caches - key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }} + key: ${{ runner.os }}-gradle-build-${{ hashFiles('**/*.gradle*') }} restore-keys: | ${{ runner.os }}-gradle- - uses: eskatos/gradle-command-action@v1 @@ -37,11 +37,11 @@ jobs: with: java-version: 8 - uses: actions/cache@v2 - with: - path: ~/.gradle/caches - key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }} - restore-keys: | - ${{ runner.os }}-gradle- + with: + path: ~/.gradle/caches + key: ${{ runner.os }}-gradle-checkstyle-${{ hashFiles('**/*.gradle*') }} + restore-keys: | + ${{ runner.os }}-gradle- - uses: eskatos/gradle-command-action@v1 with: arguments: checkstyleMain @@ -54,11 +54,11 @@ jobs: with: java-version: 8 - uses: actions/cache@v2 - with: - path: ~/.gradle/caches - key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }} - restore-keys: | - ${{ runner.os }}-gradle- + with: + path: ~/.gradle/caches + key: ${{ runner.os }}-gradle-license-${{ hashFiles('**/*.gradle*') }}-license + restore-keys: | + ${{ runner.os }}-gradle- - uses: eskatos/gradle-command-action@v1 with: arguments: checkLicenses