diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 7ad4b42dc..e425966d1 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -23,6 +23,13 @@ jobs: uses: actions/setup-java@v1 with: java-version: ${{ matrix.java }} + - name: Setup Gradle Dependencies Cache + uses: actions/cache@v4 + with: + path: | + ~/.gradle/caches + ~/.gradle/wrapper + key: ${{ runner.os }}-gradle-caches-${{ hashFiles('**/*.properties') }} - name: Make Gradle wrapper executable if: ${{ runner.os != 'Windows' }} run: chmod +x ./gradlew