Skip to content

Remove docs folder, Fix CI to work #54

Remove docs folder, Fix CI to work

Remove docs folder, Fix CI to work #54

Workflow file for this run

name: Java CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
cache: maven
- name: Build with Maven
run: mvn -B package --file pom.xml
publish:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Deploy JavaDoc πŸš€
uses: MathieuSoysal/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Commiting to main branch no longer works, so a new javadoc branch is created by default.
#javadoc-branch: main
java-version: 21
javadoc-source-folder: target/reports/apidocs # This is the target folder for `mvn javadoc:javadoc`
target-folder: docs # url will be https://<username>.github.io/<repo>/javadoc, This can be left as nothing to generate javadocs in the root folder.
project: maven # or gradle