Merge pull request #430 from Al-assad/maven_ci
Add Maven package test CI
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
new file mode 100644
index 0000000..e94d40b
--- /dev/null
+++ b/.github/workflows/maven.yml
@@ -0,0 +1,24 @@
+name: Maven Package Test
+
+on:
+ push:
+ branches: [ main ]
+ pull_request:
+ branches: [ main ]
+
+jobs:
+ build:
+
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v2
+ - name: Set up JDK 8
+ uses: actions/setup-java@v2
+ with:
+ java-version: '8'
+ distribution: 'adopt'
+ cache: maven
+ - name: Build with Maven
+ run: mvn -B package --DskipTests --file pom.xml
+