Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Bump kotlin_version from 1.9.21 to 1.9.22 (#619) #383

Bump kotlin_version from 1.9.21 to 1.9.22 (#619)

Bump kotlin_version from 1.9.21 to 1.9.22 (#619) #383

Workflow file for this run

name: Deploy static content to Pages
on:
workflow_dispatch:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: 11
distribution: temurin
cache: gradle
- name: Build JavaDoc using Dokka
run: |
mkdir ./javadoc
./gradlew :TeamCode:dokkaHtml --no-daemon
mv ./TeamCode/build/dokka/html ./javadoc
- name: Upload Pages build artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./javadoc/html
retention-days: 90
deploy:
needs:
- build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
# Only allow one concurrent deployment
concurrency:
group: pages-deploy
cancel-in-progress: false
steps:
- name: Configure Pages
uses: actions/configure-pages@v4
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4