diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 23fc671..648ac35 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -27,14 +27,17 @@ jobs: with: java-version: '21' distribution: 'temurin' + cache: 'gradle' # 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: Make gradlew executable + run: chmod +x ./gradlew - name: Build with Gradle Wrapper - run: ./gradlew build + run: ./gradlew build --no-daemon # 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.