From dacff848ea621e165f77d459deea0eca15b8404e Mon Sep 17 00:00:00 2001 From: Ian Bird Date: Thu, 2 May 2024 11:58:36 +0100 Subject: [PATCH] [Actions] Update release action when setting up gradle --- .github/workflows/build.yml | 3 ++- .github/workflows/release.yml | 6 ++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ac75f5a..432c6e3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,7 +24,8 @@ jobs: - name: Validate Gradle Wrapper uses: gradle/wrapper-validation-action@v3 - - uses: gradle/gradle-build-action@v3 + - name: Setup Gradle + uses: gradle/actions/setup-gradle@v3 - name: Build and run tests run: ./gradlew build diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9006770..72697e6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -48,10 +48,8 @@ jobs: - name: Validate Gradle Wrapper uses: gradle/wrapper-validation-action@v1 - - uses: gradle/gradle-build-action@v3 - with: - # Disable writing to cache. Don't want to spoil the main cache - cache-read-only: true + - name: Setup Gradle + uses: gradle/actions/setup-gradle@v3 - name: Get Snaptshot versions id: snapshotVersions