-
-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (40 loc) · 1019 Bytes
/
ci-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
name: ci-build
on:
push:
branches:
- master
tags-ignore:
- '*.*'
pull_request:
branches:
- master
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
name: build-and-testing
steps:
- uses: actions/checkout@v3
- name: install-java8
uses: actions/setup-java@v2
with:
java-version: 8
distribution: temurin
cache: maven
- name: Build & Verify Project
run: ./mvnw clean verify
- name: Publish Test Report
uses: mikepenz/action-junit-report@v3
if: always() # always run even if the previous step fails
with:
report_paths: '**/target/surefire-reports/TEST-*.xml'
# - name: install-java17
# uses: actions/setup-java@v2
# with:
# java-version: 17
# distribution: temurin
# cache: maven
# - name: Build & Verify Samples
# run: ./mvnw clean verify -f samples/pom.xml