[JBWS-4409]:Upgrade WFLY version to 31.0.0.Final and dev version to 3… #688
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: JBossWS-CXF CI Build | |
on: | |
push: | |
branches: | |
- '**' | |
pull_request: | |
branches: | |
- '**' | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 90 | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, windows-latest ] | |
java: ['11','17','21'] | |
profile: ['-Pwildflydev', ''] | |
steps: | |
- name: Checkout jbossws-cxf | |
uses: actions/checkout@v4 | |
- name: Checkout wildfly | |
uses: actions/checkout@v4 | |
with: | |
repository: wildfly/wildfly | |
path: './wildfly' | |
- uses: actions/cache@v4 | |
with: | |
path: ~/.m2/repository | |
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
${{ runner.os }}-maven- | |
- name: Set up JDK ${{ matrix.java }} | |
uses: actions/setup-java@v4 | |
with: | |
java-version: ${{ matrix.java }} | |
distribution: 'adopt' | |
- name: Build docbook | |
run: mvn -s ./.m2-settings.xml -f docbook/pom.xml install | |
- name: Build WFLY | |
if: ${{ matrix.profile == '-Pwildflydev'}} | |
working-directory: ./wildfly | |
run: mvn -DskipTests=true '-Denforcer.skip=true' -Prelease clean install | |
- name: Build with Maven Java ${{ matrix.java }} ${{ matrix.profile }} | |
run: | | |
mvn -s ./.m2-settings.xml -fae ${{ matrix.profile }} clean install | |
- uses: actions/upload-artifact@v4 | |
if: failure() | |
with: | |
name: surefire-reports-${{ matrix.os }}-${{ matrix.java }} | |
path: '${{ github.workspace }}/**/surefire-reports/*.*' | |
- uses: actions/upload-artifact@v4 | |
if: failure() | |
with: | |
name: server-logs-${{ matrix.os }}-${{ matrix.java }} | |
path: '${{ github.workspace }}/**/*.log' |