chore(ci): migrate to new Gradle actions

This commit is contained in:
Harsh Shandilya 2024-01-27 16:27:12 +05:30
parent 38f71460f0
commit 051b7ab2bb
4 changed files with 39 additions and 49 deletions

View file

@ -27,18 +27,18 @@ jobs:
distribution: temurin
java-version: 18
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3-beta
with:
cache-read-only: ${{ github.ref != 'refs/heads/main' }}
gradle-home-cache-cleanup: true
- name: Set up Git author
shell: bash
run: |
git config user.name "GitHub Actions"
git config user.email noreply@github.com
- name: Setup Gradle caching
uses: gradle/gradle-build-action@a8f75513eafdebd8141bd1cd4e30fcd194af8dfa # v2.12.0
with:
gradle-home-cache-cleanup: true
cache-read-only: true
- name: Decrypt secrets
run: |
./scripts/setup-age.sh