Skip to content

Target JDK8 (#1074) #28

Target JDK8 (#1074)

Target JDK8 (#1074) #28

Workflow file for this run

name: Javadoc
on:
push:
branches:
- master
jobs:
javadoc:
runs-on: ubuntu-latest
if: github.repository == 'spotbugs/spotbugs-gradle-plugin'
steps:
- name: Checkout
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version-file: .java-version
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: npm
- name: Generate Dokka HTML
uses: gradle/gradle-build-action@v2
with:
arguments: dokkaHtml
- name: Prepare to Deploy
run: |
npm ci
rm -f .git/hooks/commit-msg
- name: Deploy
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: build/dokka/html/