add github actions pull request verification gh-actions 1/head
authorMarcus Eriksson <marcuse@apache.org>
Tue, 27 Aug 2019 11:28:01 +0000 (13:28 +0200)
committerGitHub <noreply@github.com>
Tue, 27 Aug 2019 11:28:01 +0000 (13:28 +0200)
.github/workflows/maven.yml [new file with mode: 0644]

diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
new file mode 100644 (file)
index 0000000..b4580b4
--- /dev/null
@@ -0,0 +1,20 @@
+name: Java CI
+
+on:
+  pull_request:
+    branches:
+    - master
+
+jobs:
+  build:
+
+    runs-on: ubuntu-latest
+
+    steps:
+    - uses: actions/checkout@v1
+    - name: Set up JDK 1.8
+      uses: actions/setup-java@v1
+      with:
+        java-version: 1.8
+    - name: Build with Maven
+      run: mvn package --file pom.xml