PlotSquared/.github/workflows/gradle.yml
N0tMyFaultOG db903ebb0a Revert "Update gradle.yml"
This reverts commit e12c83fd83.
2020-11-19 21:05:48 +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