Skip to content

Commit 662b04b

Browse files
Use actions/setup-gradle
1 parent fa47ba2 commit 662b04b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/actions/gradle-task/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ runs:
4646
uses: ./.github/actions/gradle-args
4747

4848
- name: Gradle build action
49-
uses: gradle/gradle-build-action@ac2d340dc04d9e1113182899e983b5400c17cda1 # v3
49+
uses: gradle/actions/setup-gradle@v4
5050
with:
5151
cache-read-only: false
5252
gradle-home-cache-cleanup: true
@@ -103,9 +103,9 @@ runs:
103103
104104
- uses: gradle/actions/wrapper-validation@ac638b010cf58a27ee6c972d7336334ccaf61c96 # v4
105105

106-
# Run the actual task. Note that this still uses gradle-build-action for more fine-grained caching.
106+
# Run the actual task
107107
- name: Run ${{inputs.task}}
108-
uses: gradle/gradle-build-action@ac2d340dc04d9e1113182899e983b5400c17cda1 # v3
108+
uses: gradle/actions/setup-gradle@v4
109109
with:
110110
# These arguments need to be on a single line. If they're defined with wrapping (using `|`),
111111
# something along the way to the actual CLI invocation gets confused and the jvmargs list

0 commit comments

Comments
 (0)