Skip to content

Update plugin com.github.johnrengelman.shadow to v8.1.1 #191

Update plugin com.github.johnrengelman.shadow to v8.1.1

Update plugin com.github.johnrengelman.shadow to v8.1.1 #191

Workflow file for this run

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@v3
# 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