From 5a731501e0f619ad85bb67823a0c4c47377b10db Mon Sep 17 00:00:00 2001 From: Shigure <106312985+KanyShigure@users.noreply.github.com> Date: Sun, 26 Jan 2025 16:58:27 +0800 Subject: [PATCH] Update gradle.yml --- .github/workflows/gradle.yml | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index c6cec4e..2dc6092 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -27,7 +27,10 @@ jobs: with: java-version: '8' distribution: 'temurin' - + - name: Download and install Gradle + uses: gradle/gradle-build-action@v2 + with: + gradle-version: '8.7' # Configure Gradle for optimal use in GitHub Actions, including caching of downloaded dependencies. # See: https://github.com/gradle/actions/blob/main/setup-gradle/README.md - name: Setup Gradle @@ -39,13 +42,13 @@ jobs: # NOTE: The Gradle Wrapper is the default and recommended way to run Gradle (https://docs.gradle.org/current/userguide/gradle_wrapper.html). # If your project does not have the Gradle Wrapper configured, you can use the following configuration to run Gradle with a specified version. # - - name: Setup Gradle - uses: gradle/actions/setup-gradle@af1da67850ed9a4cedd57bfd976089dd991e2582 # v4.0.0 - with: - gradle-version: '8.7' + # - name: Setup Gradle + # uses: gradle/actions/setup-gradle@af1da67850ed9a4cedd57bfd976089dd991e2582 # v4.0.0 + # with: + # gradle-version: '8.7' - - name: Build with Gradle 8.7 - run: gradle build + # - name: Build with Gradle 8.7 + # run: gradle build dependency-submission: