-
Notifications
You must be signed in to change notification settings - Fork 2
46 lines (38 loc) · 1.07 KB
/
build.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
name: Build
on:
push:
pull_request:
types: [opened]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: 'Checkout'
uses: actions/checkout@v4
- name: 'Setup JDK'
uses: actions/setup-java@v4
with:
java-version: 17
distribution: temurin
- name: 'Setup Lombok'
uses: ./.github/actions/setup-lombok
id: setup-lombok
with:
lombok-version: 1.18.26
- name: 'Run Maven'
run: mvn -B clean verify -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
env:
MAVEN_OPTS: "-javaagent:${{ steps.setup-lombok.outputs.lombok-jar }}"
- name: 'Upload microfrontend library'
uses: actions/upload-artifact@v4
with:
name: microfrontend-library
path: |
ch.sbb.scion.rcp.microfrontend/target/*.jar
- name: 'Upload workbench library'
uses: actions/upload-artifact@v4
with:
name: workbench-library
path: |
ch.sbb.scion.rcp.workbench/target/*.jar