File tree Expand file tree Collapse file tree 1 file changed +37
-2
lines changed Expand file tree Collapse file tree 1 file changed +37
-2
lines changed Original file line number Diff line number Diff line change 88
99jobs :
1010 build :
11-
1211 runs-on : ubuntu-latest
1312
1413 steps :
3433 - name : PMD with Maven
3534 run : mvn pmd:pmd --file pom.xml
3635
36+ java-doc :
37+ runs-on : ubuntu-latest
38+ if : ${{ github.ref == 'refs/heads/main' }}
39+ permissions :
40+ contents : write # if you have a protection rule on your repository, you'll need to give write permission to the workflow.
41+ steps :
42+ - uses : actions/checkout@v4
43+ - name : Deploy JavaDoc 🚀
44+ uses :
MathieuSoysal/[email protected] 45+ with :
46+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
47+ javadoc-branch : javadoc
48+ java-version : 21
49+ target-folder : javadoc-core # url will be https://<username>.github.io/<repo>/javadoc-core
50+ project : maven # or gradle
51+ subdirectories : core
52+
53+ deploy :
54+ runs-on : ubuntu-latest
55+ if : ${{ github.ref == 'refs/heads/main' }}
56+ steps :
57+ - uses : actions/checkout@v4
58+ - name : Set up Node 22
59+ uses : actions/setup-node@v4
60+ with :
61+ node-version : ' 22.x'
62+ cache : ' npm'
63+ cache-dependency-path : ui/package-lock.json
64+ - name : Set up JDK 21
65+ uses : actions/setup-java@v4
66+ with :
67+ java-version : ' 21'
68+ distribution : ' temurin'
69+ cache : maven
70+ server-id : ossrh
71+ server-username : MAVEN_USERNAME
72+ server-password : MAVEN_PASSWORD
3773 - name : Deploy Nexus
38- if : ${{ github.ref == 'refs/heads/main' }}
3974 run : mvn -B source:jar deploy --file pom.xml -DskipTests
4075 env :
4176 MAVEN_USERNAME : ${{ secrets.OSSRH_USERNAME }}
You can’t perform that action at this time.
0 commit comments