-
Notifications
You must be signed in to change notification settings - Fork 9
52 lines (46 loc) · 1.74 KB
/
maven.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
47
48
49
50
51
52
#
# JPAstreamer - Express JPA queries with Java Streams
# Copyright (c) 2020-2020, Speedment, Inc. All Rights Reserved.
#
# License: GNU Lesser General Public License (LGPL), version 2.1 or later.
#
# This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
# without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the GNU Lesser General Public License for more details.
#
# See: https://github.com/speedment/jpa-streamer/blob/master/LICENSE
#
# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: Java CI with Maven
on:
push:
branches: [ master, develop ]
pull_request:
branches: [ master, develop ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
# test against latest update of each major Java version, as well as specific updates of LTS versions:
java: [ 11, 17, 20 ]
name: Java ${{ matrix.java }}
steps:
- uses: actions/[email protected]
- name: Set up Java
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- name: Hibernate - Build with Maven
working-directory: ./hibernate
run: mvn -B package --file pom.xml -Prelease
- name: Quarkus Hibernate - Build with Maven
working-directory: ./quarkus-hibernate
run: mvn -B package --file pom.xml -Prelease
- name: Quarkus Hibernate Panache - Build with Maven
working-directory: ./quarkus-hibernate-panache
run: mvn -B package --file pom.xml -Prelease
- name: Spring - Build with Maven
working-directory: ./spring
run: mvn -B package --file pom.xml -Prelease