Skip to content

Commit 691e481

Browse files
author
Harrison Cole
committed
add gradle/actions/setup-gradle@v4 to pipelines.
1 parent 5514c8c commit 691e481

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

.github/workflows/master.yml

+4
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ jobs:
2121
java-version: '11'
2222
distribution: 'temurin'
2323
check-latest: true
24+
# Configure Gradle for optimal use in GiHub Actions, including caching of downloaded dependencies.
25+
# See: https://github.com/gradle/actions/blob/main/setup-gradle/README.md
26+
- name: Setup Gradle
27+
uses: gradle/actions/setup-gradle@v4
2428
- name: build test and publish
2529
run: ./gradlew assemble && ./gradlew check --info && ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository -x check --info --stacktrace
2630
env:

.github/workflows/pull_request.yml

+4
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ jobs:
2121
java-version: '11'
2222
distribution: 'temurin'
2323
check-latest: true
24+
# Configure Gradle for optimal use in GiHub Actions, including caching of downloaded dependencies.
25+
# See: https://github.com/gradle/actions/blob/main/setup-gradle/README.md
26+
- name: Setup Gradle
27+
uses: gradle/actions/setup-gradle@v4
2428
- name: build and test
2529
run: ./gradlew assemble && ./gradlew check --info --stacktrace
2630
env:

.github/workflows/release.yml

+4
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ jobs:
2525
java-version: '11'
2626
distribution: 'temurin'
2727
check-latest: true
28+
# Configure Gradle for optimal use in GiHub Actions, including caching of downloaded dependencies.
29+
# See: https://github.com/gradle/actions/blob/main/setup-gradle/README.md
30+
- name: Setup Gradle
31+
uses: gradle/actions/setup-gradle@v4
2832
- name: build test and publish
2933
run: ./gradlew assemble && ./gradlew check --info && ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository -x check --info --stacktrace
3034
env:

0 commit comments

Comments
 (0)