Skip to content

Commit f0ca093

Browse files
committed
Use latest gradle that matches the wrapper
1 parent 2ceefdf commit f0ca093

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/build-project.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,11 @@ jobs:
2020
distribution: 'temurin'
2121
cache: gradle
2222

23+
# https://github.com/gradle/actions/blob/main/docs/setup-gradle.md#build-with-a-specific-gradle-version
2324
- name: Setup Gradle
2425
uses: gradle/actions/setup-gradle@v4
26+
with:
27+
gradle-version: '8.14.2' # Quotes required to prevent YAML converting to number
2528

2629
- name: Build with Gradle
2730
run: gradle build

.github/workflows/gradle.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,11 @@ jobs:
2626

2727
# Configure Gradle for optimal use in GitHub Actions, including caching of downloaded dependencies.
2828
# See: https://github.com/gradle/actions/blob/main/setup-gradle/README.md
29+
# https://github.com/gradle/actions/blob/main/docs/setup-gradle.md#build-with-a-specific-gradle-version
2930
- name: Setup Gradle
3031
uses: gradle/actions/setup-gradle@v4
32+
with:
33+
gradle-version: '8.14.2' # Quotes required to prevent YAML converting to number
3134

3235
- name: Build with Gradle
3336
run: gradle build

0 commit comments

Comments
 (0)