forked from wso2/micro-integrator
-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (29 loc) · 934 Bytes
/
jdk-17-tests.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
name: Integration tests (Ubuntu, OpenJDK17)
on: [push, pull_request]
jobs:
ubuntu:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: 11
- name: check mvn version
run: echo "MAVEN_VERSION=$(mvn -v)"
- name: check java version
run: echo "JAVA_VERSION=$(java -version)"
- name: Build in jdk11
run: mvn -B clean install -DskipTests --file pom.xml
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: 17
- name: check mvn version
run: echo "MAVEN_VERSION=$(mvn -v)"
- name: check java version
run: echo "JAVA_VERSION=$(java -version)"
- name: JDK 17 Tests
run: mvn -B clean install --file integration/pom.xml -fae