PlotSquared/.github/workflows/gradle.yml

31 lines
535 B
YAML
Raw Normal View History

2019-09-18 02:06:28 +02:00
name: Java CI
on:
push:
branches:
- 'v5'
2020-10-11 12:47:49 +02:00
- 'v6'
2019-09-18 02:06:28 +02:00
pull_request:
branches:
- 'v5'
2020-10-11 12:47:49 +02:00
- 'v6'
2019-09-18 02:06:28 +02:00
jobs:
test:
runs-on: ubuntu-18.04
strategy:
matrix:
java: [1.8, 1.11]
2019-09-18 02:06:28 +02:00
steps:
- name: Checkout
uses: actions/checkout@v2.0.0
- name: Setup Java JDK 1.8
uses: actions/setup-java@v1.3.0
2019-09-18 02:06:28 +02:00
with:
java-version: 1.8
- name: Gradle Wrapper Validation
uses: gradle/wrapper-validation-action@v1
2019-09-18 02:06:28 +02:00
- name: Test with Gradle
run: ./gradlew clean build