Skip to content

Commit 38bac18

Browse files
authored
Add Github build action (#447)
* Add build action using Java 8. * Updated branch in build action and updated Maven build step
1 parent 2dc9c0a commit 38bac18

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/maven.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Java CI with Maven
2+
3+
on:
4+
push:
5+
branches: [ "master" ]
6+
pull_request:
7+
branches: [ "master" ]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v3
16+
- name: Set up JDK 8
17+
uses: actions/setup-java@v3
18+
with:
19+
java-version: '8'
20+
distribution: 'corretto'
21+
cache: maven
22+
- name: Build with Maven
23+
run: mvn clean test
24+

0 commit comments

Comments
 (0)