Skip to content

Commit 5f829fd

Browse files
committed
update javadocs workflow
1 parent 7657299 commit 5f829fd

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

.github/workflows/javadocs.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,23 @@ jobs:
99
javadocs:
1010
runs-on: ubuntu-latest
1111

12+
permissions:
13+
pages: write # needed to publish to GitHub Pages
14+
id-token: write # required for GitHub Pages deployment
15+
1216
steps:
17+
- name: Checkout repository
18+
uses: actions/checkout@v4
19+
20+
- name: Set up Java
21+
uses: actions/setup-java@v4
22+
with:
23+
distribution: temurin
24+
java-version: 17
25+
cache: maven
26+
server-id: central
27+
server-username: MAVEN_USERNAME
28+
server-password: MAVEN_PASSWORD
1329

1430
- name: Generate Javadocs
1531
run: mvn -B javadoc:javadoc -Pcentral

0 commit comments

Comments
 (0)