Skip to content

Commit 94db1a6

Browse files
authored
Add maven workflow action
1 parent 7cc0b3f commit 94db1a6

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/maven.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Java CI
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
strategy:
11+
matrix:
12+
java: [8, 11, 15]
13+
steps:
14+
- uses: actions/checkout@v2
15+
- name: Set up JDK
16+
uses: actions/setup-java@v1
17+
with:
18+
java-version: ${{matrix.java}}
19+
- name: Build with Maven
20+
run: mvn -B package --file pom.xml

0 commit comments

Comments
 (0)