Files
QuickShop-Reremake/.github/workflows/maven.yml
T
Chris 35238c7d94 Wrong JDK name fixed (#1226)
Shouldn't this be JDK 16? (Because it says java-version: '16'...)
2021-06-25 22:02:33 +08:00

28 lines
701 B
YAML

# 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: Maven Compile Test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 16
uses: actions/setup-java@v2
with:
java-version: '16'
distribution: 'adopt'
- name: Build Integration
run: mvn -B install --file src/integration/plotsquared/5/pom.xml
- name: Build with Maven
run: mvn -B compile --file pom.xml -Pdebug