Skip to content

Add version.org.wildfly.plugins.wildfly-maven-plugin for overriding. … #198

Add version.org.wildfly.plugins.wildfly-maven-plugin for overriding. …

Add version.org.wildfly.plugins.wildfly-maven-plugin for overriding. … #198

Workflow file for this run

# 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: JBeret
on:
pull_request:
branches:
- main
types: [ opened, synchronize, reopened, ready_for_review ]
push:
branches: [ main ]
jobs:
wildfly-build:
uses: wildfly/wildfly/.github/workflows/shared-wildfly-build.yml@main
with:
wildfly-branch: "main"
wildfly-repo: "wildfly/wildfly"
build-test-matrix:
name: ${{ matrix.jdk-distribution }}-${{ matrix.jdk-version }}-${{ matrix.os }}
runs-on: ${{ matrix.os }}
needs: wildfly-build
timeout-minutes: 20
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest, windows-latest ]
jdk-distribution: [ temurin ]
jdk-version: [ '11', '17', '21' ]
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
name: wildfly-maven-repository
path: .
- name: Extract WildFly Maven Repo
shell: bash
run: tar -xzf wildfly-maven-repository.tar.gz -C ~
- name: Set up JDK ${{ matrix.jdk-distribution }} ${{ matrix.jdk-version }}
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.jdk-version }}
distribution: ${{ matrix.jdk-distribution }}
cache: 'maven'
- name: quick build
run: mvn install -DskipTests
- name: full build
run: mvn install '-Dserver.version=${{needs.wildfly-build.outputs.wildfly-version}}'
# - uses: actions/upload-artifact@v3
# if: failure()
# with:
# name: surefire-${{ matrix.jdk-distribution }}-${{ matrix.jdk-version }}-${{ matrix.os }}
# path: '**/surefire-reports/*.txt'