File tree 2 files changed +4
-22
lines changed
2 files changed +4
-22
lines changed Original file line number Diff line number Diff line change @@ -26,19 +26,10 @@ jobs:
26
26
with :
27
27
java-version : ' 17'
28
28
distribution : ' temurin'
29
- cache : gradle
30
- - name : Validate Gradle wrapper
31
- uses : gradle/wrapper-validation-action@85cde3f5a1033b2adc2442631c24b530f1183a1a
29
+ - name : Setup Gradle
30
+ uses : gradle/actions/setup-gradle@d156388eb19639ec20ade50009f3d199ce1e2808
32
31
- name : Build with Gradle
33
32
run : ./gradlew assemble
34
- - name : Cleanup Gradle Cache
35
- # Remove some files from the Gradle cache, so they aren't cached by GitHub Actions.
36
- # Restoring these files from a GitHub Actions cache might cause problems for future builds.
37
- run : |
38
- rm -f ~/.gradle/caches/modules-2/modules-2.lock
39
- rm -f ~/.gradle/caches/modules-2/gc.properties
40
- rm -fr ~/.gradle/caches/*/plugin-resolution/
41
- find ~/.gradle/caches/ -name "*.lock" -type f -delete
42
33
- name : build artifact
43
34
uses : actions/upload-artifact@v4
44
35
with :
Original file line number Diff line number Diff line change @@ -21,19 +21,10 @@ jobs:
21
21
with :
22
22
java-version : ' 17'
23
23
distribution : ' temurin'
24
- cache : gradle
25
- - name : Validate Gradle wrapper
26
- uses : gradle/wrapper-validation-action@85cde3f5a1033b2adc2442631c24b530f1183a1a
24
+ - name : Setup Gradle
25
+ uses : gradle/actions/setup-gradle@d156388eb19639ec20ade50009f3d199ce1e2808
27
26
- name : Build with Gradle
28
27
run : ./gradlew javadoc
29
- - name : Cleanup Gradle Cache
30
- # Remove some files from the Gradle cache, so they aren't cached by GitHub Actions.
31
- # Restoring these files from a GitHub Actions cache might cause problems for future builds.
32
- run : |
33
- rm -f ~/.gradle/caches/modules-2/modules-2.lock
34
- rm -f ~/.gradle/caches/modules-2/gc.properties
35
- rm -fr ~/.gradle/caches/*/plugin-resolution/
36
- find ~/.gradle/caches/ -name "*.lock" -type f -delete
37
28
- name : build artifact
38
29
uses : actions/upload-artifact@v4
39
30
with :
You can’t perform that action at this time.
0 commit comments