Skip to content

JavaDoc publishing support in CI #62

JavaDoc publishing support in CI

JavaDoc publishing support in CI #62

Workflow file for this run

name: Build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'microsoft'
cache: 'maven'
- name: Set up Maven
uses: stCarolas/setup-maven@v5
with:
maven-version: 3.9.8
- name: Build with Maven
run: mvn clean install
- name: Build Aspire4J JavaDoc
run: mvn -f aspire4j/pom.xml clean javadoc:aggregate
- name: Upload JavaDoc to Azure Blob Storage
uses: bacongobbler/[email protected]
with:
source_dir: 'aspire4j/target/site/apidocs'
container_name: '$web'
connection_string: ${{ secrets.AZURE_BLOB_STORAGE_CONNECTION_STRING }}
sync: 'true'