diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 55482613..1b8ee7ae 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,5 +22,7 @@ jobs: distribution: 'temurin' - name: Setup Gradle uses: gradle/actions/setup-gradle@v4 + with: + cache-read-only: ${{ github.ref != 'refs/heads/master' && github.ref != 'refs/heads/multi-project' }} - name: Build run: ./gradlew build