Skip to content

Fix Gradle deprecated warning #406

Fix Gradle deprecated warning

Fix Gradle deprecated warning #406

Workflow file for this run

name: Docs
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
name: Build documentation
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
- name: Set up JDK
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654
with:
java-version: "21"
distribution: "temurin"
- name: Set up Python
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405
with:
python-version: "3.11"
- name: Build documentation
run: ./gradlew --no-daemon clean mkdocsBuild javadoc
- name: Upload artifact
uses: actions/upload-pages-artifact@7b1f4a764d45c48632c6b24a0339c27f5614fb0b
if: ${{ github.ref == 'refs/heads/main' }}
with:
path: build/docs
deploy:
name: Deploy to GitHub Pages
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-24.04
if: github.ref == 'refs/heads/main'
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e