Skip to content

Commit 8e06d29

Browse files
authored
Create main.yml
1 parent 301616f commit 8e06d29

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

.github/workflows/main.yml

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

0 commit comments

Comments
 (0)