Skip to content

Commit 78ce5a4

Browse files
authored
Create maven.yml
Trying GitHub Actions
1 parent 0b6833d commit 78ce5a4

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/maven.yml

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

0 commit comments

Comments
 (0)