Skip to content

[maven-release-plugin] prepare for next development iteration #17

[maven-release-plugin] prepare for next development iteration

[maven-release-plugin] prepare for next development iteration #17

Workflow file for this run

name: docs
on:
push:
branches: [ develop ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
# Allow one concurrent deployment
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
javadoc:
runs-on: ubuntu-latest
steps:
- name: Checkout the repo
uses: actions/checkout@v3.0.0
- name: Set up JDK 17
uses: actions/setup-java@v3.9.0
with:
java-version: 17
distribution: 'temurin'
- name: Cache Maven packages
uses: actions/cache@v3.0.11
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Build docs with Maven
run: mvn clean javadoc:aggregate -DskipTests
- name: Setup Pages
uses: actions/configure-pages@v2
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
# Upload entire repository
path: 'target/site/apidocs'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1