Browse Source

Create maven.yml

许雪里 5 years ago
parent
commit
2db03d093b
No account linked to committer's email
1 changed files with 17 additions and 0 deletions
  1. 17 0
      .github/workflows/maven.yml

+ 17 - 0
.github/workflows/maven.yml View File

@@ -0,0 +1,17 @@
1
+name: Java CI
2
+
3
+on: [push]
4
+
5
+jobs:
6
+  build:
7
+
8
+    runs-on: ubuntu-latest
9
+
10
+    steps:
11
+    - uses: actions/checkout@v1
12
+    - name: Set up JDK 1.8
13
+      uses: actions/setup-java@v1
14
+      with:
15
+        java-version: 1.8
16
+    - name: Build with Maven
17
+      run: mvn -B package --file pom.xml