Update gradle.yml

This commit is contained in:
Shigure
2025-01-26 17:04:19 +08:00
committed by GitHub
parent 5a731501e0
commit 037db1225f

View File

@@ -31,13 +31,16 @@ jobs:
uses: gradle/gradle-build-action@v2
with:
gradle-version: '8.7'
- name: Build with Gradle
run: gradle build
# 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
uses: gradle/actions/setup-gradle@af1da67850ed9a4cedd57bfd976089dd991e2582 # v4.0.0
- name: Build with Gradle Wrapper
run: ./gradlew build
# - name: Build with Gradle Wrapper
# run: ./gradlew build
# 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.