-
Notifications
You must be signed in to change notification settings - Fork 19
63 lines (54 loc) · 1.45 KB
/
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
name: SmallRye Build
on:
push:
branches:
- main
paths-ignore:
- '.gitignore'
- 'CODEOWNERS'
- 'LICENSE'
- 'NOTICE'
- 'README*'
pull_request:
jobs:
build:
runs-on: ubuntu-latest
name: build
steps:
- uses: actions/checkout@v2
name: checkout
with:
path: smallrye-parent
- uses: actions/setup-java@v3
name: set up jdk versions
with:
distribution: temurin
java-version: |
11
17
- name: Maven
run: |
cd smallrye-parent
mvn -B -ntp formatter:validate install
- uses: actions/checkout@v2
name: checkout smallrye-config
with:
repository: smallrye/smallrye-config
path: smallrye-config
- name: test with smallrye-config
run: |
cd smallrye-config
mvn -B -ntp versions:update-parent -DallowSnapshots=true -N
git diff pom.xml
mvn -B -ntp install -Djava11.home=${{env.JAVA_HOME_11_X86}}
- uses: actions/checkout@v2
name: checkout smallrye-common
with:
repository: smallrye/smallrye-common
path: smallrye-common
- name: test with smallrye-common
run: |
cd smallrye-common
mvn -B -ntp versions:update-parent -DallowSnapshots=true -N
git diff pom.xml
mvn -B -ntp install -Djava11.home=${{env.JAVA_HOME_11_X86}}