forked from odpi/egeria-connector-ibm-information-server
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (36 loc) · 1.15 KB
/
maven-java16-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
36
37
38
# SPDX-License-Identifier: Apache-2.0
# Copyright Contributors to the ODPi Egeria project.
name: "Maven Build"
on:
pull_request:
branches: [master, release-*]
jobs:
build:
runs-on: ubuntu-latest
name: "Maven Java 16"
steps:
- uses: actions/checkout@v2
name: Checkout
- name: Set up JDK 16
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: '16'
- name: Cache Maven packages
uses: actions/cache@v2.1.6
with:
path: ~/.m2
key: ${{ runner.os }}-maven-java16-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-maven-java16
- name: Build with Maven
run: mvn -DargLine="-XX:+TieredCompilation -XX:TieredStopAtLevel=1 -XX:GCTimeRatio=99" -B clean verify --file pom.xml
env:
MAVEN_OPTS: --add-opens=java.base/sun.security.x509=ALL-UNNAMED
- name: Upload assemblies
uses: actions/upload-artifact@v2
with:
name: Assemblies
path: |
distribution/target/*.jar
ia-clientlibrary/target/*.jar
igc-clientlibrary/target/*.jar