Skip to content

Updates VERSIONS.md

Updates VERSIONS.md #2

Workflow file for this run

name: On release tag
on:
push:
tags:
- '[0-9]+.[0-9]+.[0-9]+\+?[0-9]+.[0-9]+.[0-9]+'
jobs:
generate-api-reference:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- uses: gradle/wrapper-validation-action@v2
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@417ae3ccd767c252f5661f1ace9f835f9654f2b5 # v3.1.0
- name: Generate Dokkatoo site
run: ./gradlew :dokkatooGenerate
- name: Upload GitHub Pages artifact
uses: actions/[email protected]
with:
path: 'build/dokka/html'
deploy-api-reference:
needs: generate-api-reference
permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4