Bump org.jboss:jboss-parent from 45 to 46 #132
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 Integration | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened, ready_for_review] | |
workflow_dispatch: | |
jobs: | |
build-test-matrix: | |
name: ${{ matrix.jdk-distribution }}-${{ matrix.jdk-version }}-${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 45 | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest] | |
jdk-distribution: [temurin] | |
jdk-version: [17] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK ${{ matrix.jdk-distribution }} ${{ matrix.jdk-version }} | |
uses: actions/setup-java@v4 | |
with: | |
distribution: ${{ matrix.jdk-distribution }} | |
java-version: ${{ matrix.jdk-version }} | |
cache: 'maven' | |
- name: Run Tests | |
run: | | |
mvn -ntp -U -B -fae -Dmaven.source.skip clean install | |
WTC_VER="$(ls target/wildfly-transaction-client-*.jar | sed -n 's/.*wildfly-transaction-client-//p' | sed 's/\.jar//')" | |
echo -e "WTC_VER=$WTC_VER" >> $GITHUB_ENV | |
- name: Checkout wildfly repo | |
uses: actions/checkout@v4 | |
with: | |
repository: wildfly/wildfly | |
path: wildfly | |
- name: Build WildFly with wildfly-transaction-client | |
run: | | |
cd wildfly | |
mvn -ntp -U -B -Dmaven.source.skip -Dversion.org.wildfly.transaction.client=$WTC_VER -Dmaven.compiler.showWarnings=false -Dmaven.compiler.showDeprecation=false clean install | |
- uses: actions/upload-artifact@v4 | |
if: failure() | |
with: | |
name: surefire-${{ matrix.jdk-distribution }}-${{ matrix.jdk-version }}-${{ matrix.os }} | |
path: '**/surefire-reports/*.txt' |