Skip to content

Commit f2a918f

Browse files
committed
add ci test
1 parent 9d26fb9 commit f2a918f

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

.github/workflows/native_jdbc_ci.yml

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: CI Pipeline
2+
3+
on:
4+
pull_request:
5+
types:
6+
- synchronize
7+
- reopened
8+
- opened
9+
- ready_for_review
10+
push:
11+
branches:
12+
- main
13+
14+
jobs:
15+
build:
16+
runs-on: ubuntu-latest
17+
18+
strategy:
19+
matrix:
20+
java-version: [8, 11]
21+
22+
steps:
23+
- name: Checkout code
24+
uses: actions/checkout@v2
25+
26+
- name: Set up JDK
27+
uses: actions/setup-java@v2
28+
with:
29+
distribution: 'temurin'
30+
java-version: ${{ matrix.java-version }}
31+
32+
- name: Find Maven dependencies
33+
run: mvn dependency:resolve
34+
35+
- name: Build with Maven
36+
run: mvn clean install

0 commit comments

Comments
 (0)