From d532bad85d611addec2d4a31729dd91f512b4b9f Mon Sep 17 00:00:00 2001 From: Janne Valkealahti Date: Sat, 5 Sep 2020 14:56:34 +0100 Subject: [PATCH] Add ci workflow --- .github/workflows/ci.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..f811731b --- /dev/null +++ b/.github/workflows/ci.yml @@ -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