Skip to content

Commit 54b955d

Browse files
committed
add github action
1 parent 2d79027 commit 54b955d

2 files changed

Lines changed: 24 additions & 0 deletions

File tree

.github/FUNDING.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
ko_fi: alexcheng1982
2+
github: alexcheng1982

.github/workflows/build.yaml

Lines changed: 22 additions & 0 deletions
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
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 -B -ntp package

0 commit comments

Comments
 (0)