Skip to content

Commit 6e5d49b

Browse files
authored
fix: Gradle wrapper validation trigger issue (#3228)
Resolved the Gradle wrapper validation triggering problem by implementing a more precise check. Now, the validation process will only be triggered when there are actual changes in the gradle/wrapper/gradle-wrapper.jar file, preventing unnecessary validations.
1 parent 62b9eed commit 6e5d49b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/gradle.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@ on:
33
push:
44
branches:
55
- master
6+
paths:
7+
- 'gradle/wrapper/gradle-wrapper.jar'
68
pull_request:
79
paths:
8-
- 'gradle/wrapper/**'
10+
- 'gradle/wrapper/gradle-wrapper.jar'
911
concurrency:
1012
group: ${{ github.workflow }}-${{ github.ref }}
1113
cancel-in-progress: true

0 commit comments

Comments
 (0)