Skip to content

Commit 4bb8c6b

Browse files
committed
Add basic CI
1 parent 305c2b7 commit 4bb8c6b

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/main.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Build
2+
on:
3+
push:
4+
branches:
5+
- master
6+
paths-ignore:
7+
- "README.md"
8+
- "release-notes/*"
9+
pull_request:
10+
branches:
11+
- master
12+
permissions:
13+
contents: read
14+
jobs:
15+
build:
16+
runs-on: 'ubuntu-latest'
17+
strategy:
18+
fail-fast: false
19+
matrix:
20+
java_version: ['8', '17', '25']
21+
steps:
22+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
23+
- name: Set up JDK
24+
uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0
25+
with:
26+
distribution: "temurin"
27+
java-version: ${{ matrix.java_version }}
28+
cache: 'maven'
29+
server-id: central-snapshots
30+
server-username: CI_DEPLOY_USERNAME
31+
server-password: CI_DEPLOY_PASSWORD
32+
- name: Build
33+
run: ./mvnw -B -q -ff -ntp verify

0 commit comments

Comments
 (0)