PlotSquared/.github/workflows/gradle.yml
2020-11-08 21:48:23 +01:00

31 lines
535 B
YAML

name: Java CI
on:
push:
branches:
- 'v5'
- 'v6'
pull_request:
branches:
- 'v5'
- 'v6'
jobs:
test:
runs-on: ubuntu-18.04
strategy:
matrix:
java: [1.8, 1.11]
steps:
- name: Checkout
uses: actions/checkout@v2.0.0
- name: Setup Java JDK 1.8
uses: actions/setup-java@v1.3.0
with:
java-version: 1.8
- name: Gradle Wrapper Validation
uses: gradle/wrapper-validation-action@v1
- name: Test with Gradle
run: ./gradlew clean build