Merge pull request #131 from wildfly/dependabot/maven/org.jboss-jboss… #110
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build WildFly Common | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out project | |
uses: actions/checkout@v4 | |
with: | |
path: wildfly-common | |
- name: Set up JDKs | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
cache: maven | |
java-version: | | |
11 | |
17 | |
21 | |
23 | |
- name: Build & Test with Maven | |
run: | | |
cd wildfly-common | |
mvn -B -ntp -N install --file pom.xml -Djava11.home="${{env.JAVA_HOME_11_X64}}" -Djava17.home="${{env.JAVA_HOME_17_X64}}" -Djava21.home="${{env.JAVA_HOME_21_X64}}" |