WFLY-19706 More gracefully handle the job execution status during a server crash. #368
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: JBeret Main Branch Build | |
on: | |
pull_request: | |
branches: | |
- main | |
types: [ opened, synchronize, reopened, ready_for_review ] | |
push: | |
branches: [ main ] | |
workflow_dispatch: | |
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' ] | |
feature-pack: ['wildfly-preview-feature-pack', 'wildfly-ee-galleon-pack'] | |
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 With WildFly Version ${{needs.wildfly-build.outputs.wildfly-version}} With Feature Pack ${{matrix.feature-pack}} | |
run: mvn install '-Dserver.version=${{needs.wildfly-build.outputs.wildfly-version}}' '-Dserver.test.feature.pack.artifactId=${{matrix.feature-pack}}' | |
# - uses: actions/upload-artifact@v3 | |
# if: failure() | |
# with: | |
# name: surefire-${{ matrix.jdk-distribution }}-${{ matrix.jdk-version }}-${{ matrix.os }} | |
# path: '**/surefire-reports/*.txt' |