-
Notifications
You must be signed in to change notification settings - Fork 10
42 lines (34 loc) · 944 Bytes
/
pages.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
34
35
36
37
38
39
40
41
42
name: Snapshot Pages
on:
push:
branches: [main]
jobs:
pages:
name: Deploy Pages
runs-on: ubuntu-latest
permissions:
id-token: write
pages: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: 23
distribution: 'temurin'
- name: Generate JavaDocs
shell: bash
run: >-
./mvnw -B -U -am -pl java-compiler-testing
-Dmaven.test.skip=true
-Dcheckstyle.skip=true
-Dlicense.skip=true
clean compile javadoc:jar
- name: Upload JavaDocs as a build artifact
uses: actions/upload-pages-artifact@v3
with:
path: java-compiler-testing/target/reports/apidocs
- name: Deploy JavaDocs build artifact to GitHub Pages
id: snapshot-javadocs
uses: actions/deploy-pages@v4