File tree Expand file tree Collapse file tree 1 file changed +13
-7
lines changed
Expand file tree Collapse file tree 1 file changed +13
-7
lines changed Original file line number Diff line number Diff line change @@ -19,21 +19,27 @@ jobs:
1919 distribution : " adopt"
2020 java-version : " 15"
2121
22- - uses : actions/cache@v4
23- id : maven-cache
22+ - uses : gradle/actions/setup-gradle@v3
2423 with :
25- path : ~/.m2/
26- key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
24+ gradle-version : wrapper
25+
26+ - name : Setup Gradle Cache
27+ uses : actions/cache@v4
28+ with :
29+ path : |
30+ ~/.gradle/caches
31+ ~/.gradle/wrapper
32+ key : ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
2733 restore-keys : |
28- ${{ runner.os }}-maven -
34+ ${{ runner.os }}-gradle -
2935
3036 - name : Javadocs Build
3137 run : |
32- mvn -B -V clean site -Dh3.use.docker =false
38+ ./gradlew javadoc -Ph3UseDocker =false
3339
3440 # Deploy the book's HTML to gh-pages branch
3541 - name : GitHub Pages action
36423743 with :
3844 github_token : ${{ secrets.GITHUB_TOKEN }}
39- publish_dir : target/site/apidocs /
45+ publish_dir : build/docs/javadoc /
You can’t perform that action at this time.
0 commit comments