From 2588ed488df98b258b77c34792b283e5dbc33579 Mon Sep 17 00:00:00 2001 From: Leon Linhart Date: Thu, 8 Aug 2024 00:42:05 +0200 Subject: [PATCH] build: bump gradle/actions from 3 to 4 Closes #26 --- .github/workflows/ci.yml | 11 ++--------- .github/workflows/publish.yml | 19 ++++--------------- 2 files changed, 6 insertions(+), 24 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 14c8585..42cbec9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,9 +18,6 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Validate Gradle wrapper - uses: gradle/actions/wrapper-validation@v3 - - name: Setup Java uses: actions/setup-java@v4 with: @@ -28,9 +25,7 @@ jobs: java-version: ${{ env.JDK_VERSION }} - name: Setup Gradle - uses: gradle/actions/setup-gradle@v3 - with: - gradle-home-cache-cleanup: true + uses: gradle/actions/setup-gradle@v4 - name: Gradle Assemble run: ./gradlew assemble --info -S --show-version @@ -72,9 +67,7 @@ jobs: java-version: ${{ env.JDK_VERSION }} - name: Setup Gradle - uses: gradle/actions/setup-gradle@v3 - with: - gradle-home-cache-cleanup: true + uses: gradle/actions/setup-gradle@v4 - name: Gradle Check run: ./gradlew check --info -S --show-version -Ptoolchain.functionalTest.version=${{ matrix.jdk }} diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 6746d97..5ffadd2 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -19,9 +19,6 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Validate Gradle wrapper - uses: gradle/actions/wrapper-validation@v3 - - name: Setup Java uses: actions/setup-java@v4 with: @@ -29,9 +26,7 @@ jobs: java-version: ${{ env.JDK_VERSION }} - name: Setup Gradle - uses: gradle/actions/setup-gradle@v3 - with: - gradle-home-cache-cleanup: true + uses: gradle/actions/setup-gradle@v4 - name: Gradle Assemble run: ./gradlew assemble --info -S --show-version @@ -76,9 +71,7 @@ jobs: java-version: ${{ env.JDK_VERSION }} - name: Setup Gradle - uses: gradle/actions/setup-gradle@v3 - with: - gradle-home-cache-cleanup: true + uses: gradle/actions/setup-gradle@v4 - name: Gradle Check run: ./gradlew check --info -S --show-version -Ptoolchain.functionalTest.version=${{ matrix.jdk }} @@ -126,9 +119,7 @@ jobs: java-version: ${{ env.JDK_VERSION }} - name: Setup Gradle - uses: gradle/actions/setup-gradle@v3 - with: - gradle-home-cache-cleanup: true + uses: gradle/actions/setup-gradle@v4 - name: Gradle Publish env: @@ -180,9 +171,7 @@ jobs: java-version: ${{ env.JDK_VERSION }} - name: Setup Gradle - uses: gradle/actions/setup-gradle@v3 - with: - gradle-home-cache-cleanup: true + uses: gradle/actions/setup-gradle@v4 # https://github.com/gradle/gradle/issues/1246 - name: Install Gradle Plugin Portal credentials