Skip to content

chore(deps): update plugin org.jmailen.kotlinter to v3.16.0 #558

chore(deps): update plugin org.jmailen.kotlinter to v3.16.0

chore(deps): update plugin org.jmailen.kotlinter to v3.16.0 #558

Workflow file for this run

name: Build
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v3
- name: Setup java
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: 17
- name: Build
run: ./gradlew build
- name: Build (1.8.8)
run: ./gradlew build -PUSE_SPIGOT_8=true
dokka:
needs: build
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v3
- name: Setup java
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: 17
- name: Dokka
run: ./gradlew dokkaHtml
- name: Upload pages artifact
uses: actions/upload-pages-artifact@v2
with:
path: build/dokka/html
deploy:
needs: dokka
if: github.ref == 'refs/heads/master'
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v2