diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 964f1e9..a8fd8e9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,7 @@ jobs: distribution: adopt java-version: 11 - name: gradle build ${{ github.ref }} - uses: burrunan/gradle-cache-action@v1 + uses: burrunan/gradle-cache-action@v2 with: gradle-version: wrapper arguments: --no-parallel --no-daemon --build-cache build assembleDebug diff --git a/.github/workflows/release-nightly.yml b/.github/workflows/release-nightly.yml index a0e3f0b..f5694a2 100644 --- a/.github/workflows/release-nightly.yml +++ b/.github/workflows/release-nightly.yml @@ -21,7 +21,7 @@ jobs: - name: Set current version run: echo "PROJECT_VERSION=$(cat app/build.gradle | grep versionName | cut -d\" -f2 | xargs)" >> $GITHUB_ENV - name: gradle build ${{ github.ref }} - uses: burrunan/gradle-cache-action@v1 + uses: burrunan/gradle-cache-action@v2 with: gradle-version: wrapper arguments: --no-parallel --no-daemon --build-cache build assembleRelease diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e039b25..5f27b36 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,7 +21,7 @@ jobs: - name: Set current version run: echo "PROJECT_VERSION=$(cat app/build.gradle | grep versionName | cut -d\" -f2 | xargs)" >> $GITHUB_ENV - name: gradle build ${{ github.ref }} - uses: burrunan/gradle-cache-action@v1 + uses: burrunan/gradle-cache-action@v2 with: gradle-version: wrapper arguments: --no-parallel --no-daemon --build-cache build assembleRelease