use gradle wrapper in workflow

This commit is contained in:
Paul Reichmuth
2025-10-08 15:51:48 +02:00
committed by GitHub
parent b2c1b0375e
commit 40b14b5338

View File

@@ -29,22 +29,22 @@ jobs:
# Configure Gradle for optimal use in GitHub Actions, including caching of downloaded dependencies. # 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 # See: https://github.com/gradle/actions/blob/main/setup-gradle/README.md
#- name: Setup Gradle - name: Setup Gradle
# uses: gradle/actions/setup-gradle@af1da67850ed9a4cedd57bfd976089dd991e2582 # v4.0.0 uses: gradle/actions/setup-gradle@af1da67850ed9a4cedd57bfd976089dd991e2582 # v4.0.0
#- name: Build with Gradle Wrapper - name: Build with Gradle Wrapper
# run: ./gradlew build 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). # 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. # 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 #- name: Setup Gradle
uses: gradle/actions/setup-gradle@af1da67850ed9a4cedd57bfd976089dd991e2582 # v4.0.0 # uses: gradle/actions/setup-gradle@af1da67850ed9a4cedd57bfd976089dd991e2582 # v4.0.0
with: # with:
gradle-version: '9.1' # gradle-version: '9.1'
# #
- name: Build with Gradle 9.1 #- name: Build with Gradle 9.1
run: gradle build # run: gradle build
dependency-submission: dependency-submission: