[CMTOOL-336] JBoss EAP XP5 Server Migration Support #32
Workflow file for this run
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
# This workflow will build a Java project with Maven | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven | |
name: WildFly Server Migration CI | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened, ready_for_review] | |
branches: | |
- master | |
jobs: | |
Test-build-default-matrix: | |
name: BUILD DEFAULT - JDK${{ matrix.jdk }} - ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
jdk: [11, 17] | |
os: [ubuntu-20.04, windows-latest] | |
steps: | |
- uses: n1hility/cancel-previous-runs@v2 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- uses: actions/checkout@v2 | |
with: | |
path: wildfly-server-migration | |
- name: Set up JDK ${{ matrix.java }} | |
uses: AdoptOpenJDK/install-jdk@v1 | |
with: | |
version: ${{ matrix.jdk }} | |
impl: hotspot | |
- name: Build Server Migration Tool | |
run: | | |
cd wildfly-server-migration | |
mvn -U -B -fae clean install | |
- uses: actions/upload-artifact@v3 | |
if: failure() | |
with: | |
name: surefire-reports-JDK${{ matrix.jdk }}-${{ matrix.os }} | |
path: 'wildfly-server-migration/**/surefire-reports/*.txt' | |