-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (35 loc) · 901 Bytes
/
Copy pathci.yml
File metadata and controls
43 lines (35 loc) · 901 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: CI Pipeline
on:
push:
branches:
- 'feature/**'
- 'fix/**'
- 'main'
pull_request:
branches:
- main
jobs:
build-and-test:
name: Build & Test (Java 25 + Maven)
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Set up JDK 25
uses: actions/setup-java@v4
with:
java-version: '25'
distribution: 'temurin'
cache: 'maven'
- name: Build with Maven
run: mvn -f test/pom.xml clean compile -B
# - name: Run Tests
# run: mvn -f test/pom.xml test -B
- name: Package JAR
run: mvn -f test/pom.xml package -DskipTests -B
- name: Upload Build Artifact
uses: actions/upload-artifact@v4
with:
name: security-core-jar
path: test/target/*.jar
retention-days: 7