Merge pull request #118 from wildfly/dependabot/maven/version.org.jbo… #83
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 | |
- 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}}" |