Skip to content

Bump com.diffplug.spotless from 7.2.1 to 8.0.0 #154

Bump com.diffplug.spotless from 7.2.1 to 8.0.0

Bump com.diffplug.spotless from 7.2.1 to 8.0.0 #154

Workflow file for this run

# Workflow for building and deploying Dokka documentation to GitHub Pages
name: Deploy Dokka Docs to GitHub Pages
on:
# Runs on pushes targeting the default branch
push:
branches: ["master"]
# 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 only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
# Build and upload the Dokka documentation
build-and-upload:
name: Generate and Upload Dokka Docs
runs-on: macos-latest # For Kotlin/Native
steps:
- name: Checkout repository
uses: actions/checkout@v5
- name: Configure JDK
uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: 17
- name: Generate Dokka HTML docs
run: ./gradlew :dokkaHtml
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v4
with:
# Upload the generated Dokka HTML directory
path: build/dokka/html
# Deployment job
deploy:
name: Deploy to GitHub Pages
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build-and-upload # Wait for the build job to finish
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4