-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (31 loc) · 1.01 KB
/
postbuild.docs.yml
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
name: Build documentation
on: workflow_call
jobs:
buildDocs:
name: Build documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up source JDK
uses: actions/setup-java@v3
with:
java-version: 21
distribution: temurin
- name: Build developer documentation
run: mvn clean install -DskipTests -P ci,local -Dexecution.antora.skip=false
- name: Archive Antora artifacts
uses: actions/upload-artifact@v4
with:
name: Antora documentation archive
path: hartshorn-assembly/target/site
if-no-files-found: error
retention-days: 7
- name: Build Javadocs
run: mvn install -DskipTests -P ci -Dexecution.javadoc.skip=false
- name: Archive Javadoc artifacts
uses: actions/upload-artifact@v4
with:
name: Javadoc archive
path: hartshorn-assembly/target/site/apidocs
if-no-files-found: error
retention-days: 7