Skip to content

0.1.0-SNAPSHOT.34

0.1.0-SNAPSHOT.34 #4

Workflow file for this run

name: Javadoc
on: [ release, workflow_dispatch ]
jobs:
build:
strategy:
matrix:
java: [
22-ea
]
os: [ ubuntu-latest ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v4
with:
java-version: |
${{ matrix.java }}
distribution: 'temurin'
- name: Grant execute permission for gradlew
if: ${{ runner.os != 'Windows' }}
run: chmod +x gradlew
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
- name: Execute Gradle build
run: ./gradlew aggregateJavadoc
- name: Deploy Javadoc
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main'
uses: JamesIves/github-pages-deploy-action@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages
folder: build/docs/javadoc
clean: true