From 5bd9aa550d0da4406288a39238c0b451fd034925 Mon Sep 17 00:00:00 2001 From: Manel Martos Date: Wed, 24 Apr 2024 10:10:24 +0200 Subject: [PATCH] Use new setup-gradle action instead of deprecated one --- .github/workflows/build.yml | 10 +++++----- .github/workflows/documentation.yml | 2 +- .github/workflows/release.yml | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5dd2aef7e..32f053324 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,7 +22,7 @@ jobs: distribution: 'zulu' java-version: '17' - uses: gradle/wrapper-validation-action@v2 - - uses: gradle/gradle-build-action@v3 + - uses: gradle/actions/setup-gradle@v3 with: cache-read-only: ${{ env.MAIN_BRANCH != 'true' }} - name: Build @@ -75,7 +75,7 @@ jobs: distribution: 'zulu' java-version: '17' - uses: gradle/wrapper-validation-action@v2 - - uses: gradle/gradle-build-action@v3 + - uses: gradle/actions/setup-gradle@v3 with: cache-read-only: ${{ env.MAIN_BRANCH != 'true' }} - name: Check publication setup @@ -99,7 +99,7 @@ jobs: distribution: 'zulu' java-version: '17' - uses: gradle/wrapper-validation-action@v2 - - uses: gradle/gradle-build-action@v3 + - uses: gradle/actions/setup-gradle@v3 with: cache-read-only: ${{ env.MAIN_BRANCH != 'true' }} - name: Setup Android SDK @@ -137,7 +137,7 @@ jobs: distribution: 'zulu' java-version: '17' - uses: gradle/wrapper-validation-action@v2 - - uses: gradle/gradle-build-action@v3 + - uses: gradle/actions/setup-gradle@v3 with: cache-read-only: ${{ env.MAIN_BRANCH != 'true' }} - name: Setup Android SDK @@ -171,7 +171,7 @@ jobs: distribution: 'zulu' java-version: '17' - uses: gradle/wrapper-validation-action@v2 - - uses: gradle/gradle-build-action@v3 + - uses: gradle/actions/setup-gradle@v3 with: cache-read-only: ${{ env.MAIN_BRANCH != 'true' }} - name: Generate distributions diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index d3af21c1a..1f68e2d81 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -20,7 +20,7 @@ jobs: distribution: 'zulu' java-version: '17' - uses: gradle/wrapper-validation-action@v2 - - uses: gradle/gradle-build-action@v3 + - uses: gradle/actions/setup-gradle@v3 with: cache-read-only: ${{ env.MAIN_BRANCH != 'true' }} - run: pip install mkdocs-material diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c9fcc4548..514ca89c3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,7 +16,7 @@ jobs: distribution: 'zulu' java-version: '17' - uses: gradle/wrapper-validation-action@v2 - - uses: gradle/gradle-build-action@v3 + - uses: gradle/actions/setup-gradle@v3 env: SIGNING_KEY: ${{ secrets.SIGNING_KEY }} with: