-
Notifications
You must be signed in to change notification settings - Fork 1
79 lines (68 loc) · 2.49 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
name: WildFly Development Tools CI Build
on:
push:
branches:
- main
paths:
- '**/pom.xml'
- 'ide-config/**'
- '.github/workflows/**'
pull_request:
paths:
- '**/pom.xml'
- 'ide-config/**'
- '.github/workflows/**'
jobs:
build:
runs-on: ubuntu-latest
name: build
steps:
- name: Check out project
uses: actions/checkout@v4
with:
path: wildfly-dev-tools
- name: Set up the JDKs
uses: actions/setup-java@v4
with:
distribution: temurin
architecture: x64
java-version: |
11
17
- name: Install the snapshot
run: |
cd wildfly-dev-tools
mvn -B -ntp install
- name: Check out WildFly Plugin Tools
uses: actions/checkout@v4
with:
repository: wildfly/wildfly-plugin-tools
path: wildfly-plugin-tools
- name: Test WildFly Plugin Tools with updated parent
run: |
cd wildfly-plugin-tools
mvn -B -ntp versions:update-parent -DallowSnapshots=true -N
git diff pom.xml
mvn -B -ntp install -Djava11.home=${{env.JAVA_HOME_11_X64}}
- name: Check out WildFly Maven Plugin
uses: actions/checkout@v4
with:
repository: wildfly/wildfly-maven-plugin
path: wildfly-maven-plugin
- name: Test WildFly Maven Plugin with updated parent
run: |
cd wildfly-maven-plugin
mvn -B -ntp versions:update-parent -DallowSnapshots=true -N
git diff pom.xml
mvn -B -ntp install -Djava11.home=${{env.JAVA_HOME_11_X64}}
- name: Check out WildFly Arquillian
uses: actions/checkout@v4
with:
repository: wildfly/wildfly-arquillian
path: wildfly-arquillian
- name: Test WildFly Arquillian with updated parent
run: |
cd wildfly-arquillian
mvn -B -ntp versions:update-parent -DallowSnapshots=true -N
git diff pom.xml
mvn -B -ntp install -Djava11.home=${{env.JAVA_HOME_11_X64}}