-
Notifications
You must be signed in to change notification settings - Fork 26
50 lines (44 loc) · 1.24 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
45
46
47
48
49
50
name: Java CI
on:
push:
paths:
- 'eXperDB-Management-WebConsole/**'
- 'eXperDB-Management-Agent/**'
- 'eXperDB-Proxy-Agent/**'
pull_request:
paths:
- 'eXperDB-Management-WebConsole/**'
- 'eXperDB-Management-Agent/**'
- 'eXperDB-Proxy-Agent/**'
workflow_dispatch:
jobs:
webconsole_build:
name: "WebConsole Build CI"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 1.8
uses: actions/setup-java@v3
with:
java-version: '8'
distribution: 'temurin'
- name: WebConsole Build with Maven
run: mvn -B package --file eXperDB-Management-WebConsole/pom.xml
agent_build:
name: "Agent Build CI"
strategy:
fail-fast: false
matrix:
component: ['eXperDB-Management-Agent', 'eXperDB-Proxy-Agent']
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 1.8
uses: actions/setup-java@v3
with:
java-version: '8'
distribution: 'temurin'
- name: Resolve Dependency with Maven
run: mvn -B package --file ${{ matrix.component }}/pom.xml
- name: Build with Ant
run: ant -noinput -buildfile ${{ matrix.component }}/ant_build/build.xml