Update gradle.yml

This commit is contained in:
Shigure
2025-01-26 16:58:27 +08:00
committed by GitHub
parent ec42e46c4a
commit 5a731501e0

View File

@@ -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: