diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b2483d52..f7e5ddce 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,15 +24,15 @@ jobs: persist-credentials: false fetch-depth: 0 - - name: Cache + - name: Cache Node modules uses: actions/cache@v3 with: path: | - ~/.gradle/caches - ~/.gradle/wrapper - .gradle node_modules - key: gradle-npm-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties', 'package-lock.json') }} + key: npm-${{ hashFiles('package-lock.json') }} + + - name: Cache Gradle + uses: burrunan/gradle-cache-action@v1 - name: Build with Gradle env: