From f510989c1f40b30a42eeed823a4dec91113ef772 Mon Sep 17 00:00:00 2001 From: md_5 Date: Fri, 24 Jan 2020 08:59:45 +1100 Subject: [PATCH] Add building of pull requests via GitHub Actions --- .github/workflows/maven.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/maven.yml diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml new file mode 100644 index 00000000..5bbc5309 --- /dev/null +++ b/.github/workflows/maven.yml @@ -0,0 +1,21 @@ +name: Maven Build + +on: [push, pull_request] + +jobs: + build: + runs-on: ubuntu-latest + + strategy: + matrix: + java: [8, 11] + + name: Java ${{ matrix.java }} + + steps: + - uses: actions/checkout@v1 + - uses: actions/setup-java@v1 + with: + java-version: ${{ matrix.java }} + - run: java -version + - run: mvn package javadoc:jar source:jar