Add ci workflow

This commit is contained in:
Janne Valkealahti
2020-09-05 14:56:34 +01:00
parent e580e0ec5f
commit d532bad85d

28
.github/workflows/ci.yml vendored Normal file
View File

@@ -0,0 +1,28 @@
name: CI
on:
workflow_dispatch:
push:
branches:
- 2.3.x
pull_request:
branches:
- 2.3.x
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
java: [1.8, 11]
steps:
- uses: actions/checkout@v2
- name: Setup JDK
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- name: Build with Gradle
run: ./gradlew clean build