Skip to content

Commit 095b26c

Browse files
committed
Add GH action workflow
1 parent 1c6a6f4 commit 095b26c

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Compile, Validate and Package BKP-LHC-Client on Multiple OS
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
8+
jobs:
9+
compile:
10+
runs-on: ${{ matrix.os }}
11+
strategy:
12+
matrix:
13+
os: [ubuntu-latest, macos-latest]
14+
steps:
15+
- name: Checkout code
16+
uses: actions/checkout@v5
17+
- name: Set up JDK 16
18+
uses: actions/setup-java@v5
19+
with:
20+
distribution: 'temurin'
21+
java-version: '16'
22+
- name: Compile with Maven
23+
run: mvn clean compile
24+
- name: Validate Maven Project
25+
run: mvn validate
26+
- name: Package with Maven (Fat JAR)
27+
run: mvn clean package

0 commit comments

Comments
 (0)