File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 pull_request :
77 branches : [main]
88
9+ permissions :
10+ pull-requests : write
11+
912jobs :
1013 build :
1114 runs-on : ${{ matrix.os }}
@@ -17,14 +20,26 @@ jobs:
1720
1821 steps :
1922 - uses : actions/checkout@v4
20- - uses : gradle/actions/wrapper-validation@v4
21-
2223 - name : Set up JDK ${{ matrix.java }}
2324 uses : actions/setup-java@v4
2425 with :
2526 java-version : ${{ matrix.java }}
2627 distribution : ' corretto'
2728
29+ - name : Cache compiled buildscripts
30+ uses : actions/cache@v4
31+ with :
32+ key : ${{ runner.os }}-gradle-${{ hashFiles('buildSrc/**/*.kts') }}
33+ path : |
34+ ./buildSrc/build
35+
36+ - name : Setup Gradle
37+ uses : gradle/actions/setup-gradle@v4
38+ with :
39+ cache-encryption-key : ${{ secrets.GRADLE_ENCRYPTION_KEY }}
40+ gradle-home-cache-includes : |
41+ caches
42+
2843 - name : Clean, build and javadoc
2944 run : ./gradlew clean build javadoc -Plog-tests --stacktrace
3045
You can’t perform that action at this time.
0 commit comments