From 00024941700f8bb7e791a9c1f79985352cc8ffc5 Mon Sep 17 00:00:00 2001 From: Kizito Nwose Date: Thu, 28 Nov 2024 21:52:46 +0100 Subject: [PATCH] Bump workflow dependencies --- .github/workflows/check.yml | 20 +++++--------------- .github/workflows/publish-release.yml | 4 +--- 2 files changed, 6 insertions(+), 18 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index a02fb9ec..fcdecabc 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -18,9 +18,7 @@ jobs: with: distribution: 'zulu' java-version: 17 - - uses: gradle/actions/setup-gradle@v3 - with: - gradle-home-cache-cleanup: true + - uses: gradle/actions/setup-gradle@v4 - name: Run Ktlint run: ./gradlew lintKotlin @@ -33,9 +31,7 @@ jobs: with: distribution: 'zulu' java-version: 17 - - uses: gradle/actions/setup-gradle@v3 - with: - gradle-home-cache-cleanup: true + - uses: gradle/actions/setup-gradle@v4 - run: ./gradlew apiCheck unit-tests: @@ -48,9 +44,7 @@ jobs: with: distribution: 'zulu' java-version: 17 - - uses: gradle/actions/setup-gradle@v3 - with: - gradle-home-cache-cleanup: true + - uses: gradle/actions/setup-gradle@v4 - name: Unit tests run: ./gradlew test @@ -75,9 +69,7 @@ jobs: with: distribution: 'zulu' java-version: 17 - - uses: gradle/actions/setup-gradle@v3 - with: - gradle-home-cache-cleanup: true + - uses: gradle/actions/setup-gradle@v4 # API 32+ emulators have no `default` system images. - name: Determine emulator target id: determine-target @@ -136,9 +128,7 @@ jobs: with: distribution: 'zulu' java-version: 17 - - uses: gradle/actions/setup-gradle@v3 - with: - gradle-home-cache-cleanup: true + - uses: gradle/actions/setup-gradle@v4 - name: Deploy to Maven run: ./gradlew publish env: diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index c4d2d0f9..7a80bcfc 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -17,9 +17,7 @@ jobs: with: distribution: 'zulu' java-version: 17 - - uses: gradle/actions/setup-gradle@v3 - with: - gradle-home-cache-cleanup: true + - uses: gradle/actions/setup-gradle@v4 - name: Deploy to Maven run: ./gradlew publish env: