From bde56df6544bbcb2337610625247313a878348f2 Mon Sep 17 00:00:00 2001 From: Yang Date: Sun, 4 Aug 2024 15:51:17 +1000 Subject: [PATCH] gradle/actions v4. --- .github/workflows/ci.yml | 15 +++------------ .github/workflows/deploy-website.yml | 5 +---- 2 files changed, 4 insertions(+), 16 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1778ba1..e9679f0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,14 +23,11 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: gradle/actions/wrapper-validation@v3 - uses: actions/setup-java@v4 with: distribution: 'zulu' java-version: '22' - - uses: gradle/actions/setup-gradle@v3 - with: - gradle-home-cache-cleanup: true + - uses: gradle/actions/setup-gradle@v4 - name: Assemble run: ./gradlew assemble @@ -40,14 +37,11 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: gradle/actions/wrapper-validation@v3 - uses: actions/setup-java@v4 with: distribution: 'zulu' java-version: '22' - - uses: gradle/actions/setup-gradle@v3 - with: - gradle-home-cache-cleanup: true + - uses: gradle/actions/setup-gradle@v4 - name: Check run: ./gradlew check && ./gradlew -p build-logic detekt @@ -62,13 +56,10 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: gradle/actions/wrapper-validation@v3 - uses: actions/setup-java@v4 with: distribution: 'zulu' java-version: '22' - - uses: gradle/actions/setup-gradle@v3 - with: - gradle-home-cache-cleanup: true + - uses: gradle/actions/setup-gradle@v4 - name: Publish snapshot run: ./gradlew publishToMavenCentral diff --git a/.github/workflows/deploy-website.yml b/.github/workflows/deploy-website.yml index a7afe0f..c1aad7d 100644 --- a/.github/workflows/deploy-website.yml +++ b/.github/workflows/deploy-website.yml @@ -20,14 +20,11 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: gradle/actions/wrapper-validation@v3 - uses: actions/setup-java@v4 with: distribution: 'zulu' java-version: '22' - - uses: gradle/actions/setup-gradle@v3 - with: - gradle-home-cache-cleanup: true + - uses: gradle/actions/setup-gradle@v4 - uses: actions/setup-python@v4 with: python-version: '3.10'