chore(deps): update plugin org.jetbrains.dokka to v1.9.20 #213
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Test" | |
# Only execute this workflow when a PR is opened or when something is pushed to the master branch | |
on: [pull_request] | |
jobs: | |
testBuilds: | |
strategy: | |
fail-fast: false | |
max-parallel: 4 | |
matrix: | |
java-version: [11,16,17] | |
# Set up OS | |
runs-on: ubuntu-latest | |
# Set up environment variables | |
env: | |
ENV: 'local' # Set to local, so it won't deploy the jar to the repos | |
steps: | |
# Checkout code | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
# Setup java and maven | |
- name: Set up JDK ${{ matrix.java-version }} | |
uses: actions/setup-java@v3 | |
with: | |
distribution: adopt | |
java-version: ${{ matrix.java-version }} | |
cache: 'gradle' | |
# Setup executable gradle | |
- name: Make Gradle executable | |
run: chmod +x gradlew | |
# Test building without dokka | |
- name: Build Jar with Java ${{ matrix.java-version }} | |
run: ./gradlew clean shadowJar test -x dokkaHtml -no-daemon |