-
Notifications
You must be signed in to change notification settings - Fork 138
44 lines (41 loc) · 1.12 KB
/
maven.yml
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
44
name: Github CI Build
on:
push:
branches: [ "**" ]
paths:
- 'scr/**'
- 'log/**'
pull_request:
branches: [ "**" ]
paths:
- 'scr/**'
- 'log/**'
permissions: {}
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: maven
- name: Set up Maven
uses: stCarolas/setup-maven@d6af6abeda15e98926a57b5aa970a96bb37f97d1 # v5
with:
maven-version: 3.9.9
- name: Felix SCR
run: mvn -B -V -Dstyle.color=always --file scr/pom.xml clean verify
- name: Felix Log
run: mvn -B -V -Dstyle.color=always --file log/pom.xml clean verify
- name: Upload Test Results
if: always()
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
with:
name: test-results
if-no-files-found: warn
path: |
${{ github.workspace }}/**/target/surefire-reports/*.xml
${{ github.workspace }}/**/target/failsafe-reports/*.xml