Skip to content

Revert changes moved to the gradle branch #18

Revert changes moved to the gradle branch

Revert changes moved to the gradle branch #18

Workflow file for this run

# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: Java CI with Maven
on:
push:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java-version: [11, 16, 17]
steps:
- uses: actions/checkout@v2
- name: Set up JDK
uses: actions/[email protected]
with:
distribution: adopt
java-version: ${{ matrix.java-version }}
- name: Build with Maven
run: |
if [ "${{ matrix.java-version }}" -eq "11" ]; then
mvn -B package --file pom.xml -pl !paper
else
mvn -B package --file pom.xml
fi