Skip to content

Commit b773213

Browse files
committed
ci: add maven workflow
1 parent 4b5d128 commit b773213

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

‎.github/workflows/maven.yml‎

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

0 commit comments

Comments
 (0)