forked from odpi/egeria-connector-xtdb
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (33 loc) · 1.01 KB
/
maven-java11-verify.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
# SPDX-License-Identifier: Apache-2.0
# Copyright Contributors to the ODPi Egeria project.
name: "Maven Build"
on:
pull_request:
branches: [main, release-*]
jobs:
build:
runs-on: ubuntu-latest
name: "Maven Java 11"
steps:
- uses: actions/checkout@v3
name: Checkout
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '11'
- name: Cache Maven packages
uses: actions/cache@v3
with:
path: ~/.m2
key: ${{ runner.os }}-maven-java11-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-maven-java11
- name: Build with Maven
run: mvn -DargLine="-XX:+TieredCompilation -XX:TieredStopAtLevel=1 -XX:GCTimeRatio=99" -B clean verify --file pom.xml
- name: Upload assemblies
uses: actions/upload-artifact@v3
with:
name: Assemblies
path: |
connector/target/*.jar
migrator/target/*.jar