Skip to content

chore: release 0.1.3 (#39) #18

chore: release 0.1.3 (#39)

chore: release 0.1.3 (#39) #18

name: "publish-javadoc"
on:
push:
branches:
- main
jobs:
generate-javadoc:
runs-on: ubuntu-latest
steps:
- name: "Check out the repository"
uses: actions/checkout@v4
- name: "Setup Java and Maven"
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
- name: "Build JavaDoc using Maven"
run: mvn javadoc:javadoc
- name: "Upload JavaDoc as an artifact"
id: deployment
uses: actions/upload-pages-artifact@v3
with:
path: target/reports/apidocs
deploy-github-pages:
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: generate-javadoc
steps:
- name: "Deploy to GitHub Pages"
id: deployment
uses: actions/deploy-pages@v4