-
Notifications
You must be signed in to change notification settings - Fork 221
38 lines (30 loc) · 810 Bytes
/
javadoc.yml
File metadata and controls
38 lines (30 loc) · 810 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: JavaDoc
on:
push:
branches: main
workflow_dispatch:
jobs:
javadoc:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
- name: Echo Java Version
run: java -version
- name: Print Current workflow
run: >
cat .github/workflows/javadoc.yml
- name: Generate JavaDoc
run: mvn javadoc:javadoc
- name: Deploy JavaDoc
uses: JamesIves/github-pages-deploy-action@v4.6.8
with:
token: ${{ secrets.GITHUB_TOKEN }}
folder: target/reports/apidocs
target-folder: docs/${{ github.ref_name }}
branch: gh-pages