WildFly Test Build #615
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 is for a nightly run against WildFly upstream | |
name: WildFly Test Build | |
on: | |
schedule: | |
- cron: '30 0 * * *' # Every day at 00:30 UTC | |
jobs: | |
wildfly-build: | |
runs-on: ubuntu-latest | |
outputs: | |
wildfly-version: ${{steps.version.outputs.wildfly-version}} | |
steps: | |
- name: Checkout WildFly | |
uses: actions/checkout@v2 | |
with: | |
repository: wildfly/wildfly | |
fetch-depth: 0 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v2 | |
with: | |
java-version: 11 | |
distribution: 'adopt' | |
cache: 'maven' | |
- name: Build WildFly | |
run: 'mvn clean install -Prelease,gendoc -DskipTests -Dcheckstyle.skip=true -Denforcer.skip=true' | |
- id: version | |
run: echo "::set-output name=wildfly-version::$(mvn -B help:evaluate -Dexpression=project.version -pl . | grep -v '^\[')" | |
- name: Checkout jbossws-cxf | |
uses: actions/checkout@v2 | |
with: | |
repository: jbossws/jbossws-cxf | |
- name: Build with Maven Java ${{ matrix.java }} on WildFly ${{needs.wildfly-build.outputs.wildfly-version}} | |
run: | | |
mvn -s ./.m2-settings.xml -B -V -fae -Pwildflydev clean install | |
- name: Upload surefire reports | |
uses: actions/upload-artifact@v2 | |
if: failure() | |
with: | |
name: surefire-reports-${{ matrix.os }}-${{ matrix.java }} | |
path: '**/surefire-reports/*.*' | |
- name: Upload server logs | |
uses: actions/upload-artifact@v2 | |
if: failure() | |
with: | |
name: server-logs-${{ matrix.os }}-${{ matrix.java }} | |
path: '**/*/*.log' |