Skip to content

Commit d428e59

Browse files
committed
Add github action
1 parent 9547a8f commit d428e59

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

Diff for: .github/workflows/build.yaml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: build
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v4
15+
- name: Set up JDK 21
16+
uses: actions/setup-java@v3
17+
with:
18+
java-version: "21"
19+
distribution: "temurin"
20+
cache: maven
21+
- name: Build with Maven
22+
run: mvn --batch-mode --update-snapshots package

0 commit comments

Comments
 (0)