Skip to content

Commit

Permalink
Merge pull request #173 from dmlloyd/ci
Browse files Browse the repository at this point in the history
Introduce CI
  • Loading branch information
dmlloyd authored Sep 20, 2023
2 parents 876b503 + db045b6 commit 7c4eb5b
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: JBoss Parent CI Build

on:
push:
branches:
- main
paths-ignore:
- '.gitignore'
- 'LICENSE'
- 'NOTICE'
- 'README*'
pull_request:

jobs:
build:
runs-on: ubuntu-latest
name: build

steps:
- name: Check out project
uses: actions/checkout@v2
with:
path: jboss-parent-pom

- name: Set up the JDKs
uses: actions/setup-java@v3
with:
distribution: temurin
architecture: x64
java-version: |
11
17
- name: Install the parent POM snapshot
run: |
cd jboss-parent-pom
mvn -B -ntp formatter:validate install
- name: Check out WildFly Common
uses: actions/checkout@v2
with:
repository: wildfly/wildfly-common
path: wildfly-common

- name: Test WildFly Common with updated parent
run: |
cd wildfly-common
mvn -B -ntp versions:update-parent -DallowSnapshots=true -N
git diff pom.xml
mvn -B -ntp install -Djava11.home=${{env.JAVA_HOME_11_X64}}

0 comments on commit 7c4eb5b

Please sign in to comment.