Skip to content

Commit

Permalink
Run GH workflow build in batch-mode and fail at end
Browse files Browse the repository at this point in the history
Without the -B Maven CLI option a lot of print-out in the build logs of
Github workflows is just transfer progress.
  • Loading branch information
HannesWell committed Aug 10, 2024
1 parent 2737b36 commit 11a90e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
- name: Build and test
uses: coactions/[email protected]
with:
run: ./mvnw clean verify "-Dmaven.home=${{ env.MAVEN_WRAPPER_HOME }}" -PuseJenkinsSnapshots ${{ matrix.additional-maven-args }} -f org.eclipse.xtext.full.releng
run: ./mvnw clean verify -B -fae "-Dmaven.home=${{ env.MAVEN_WRAPPER_HOME }}" -PuseJenkinsSnapshots ${{ matrix.additional-maven-args }} -f org.eclipse.xtext.full.releng

- name: Archive Test Results
uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -89,7 +89,7 @@ jobs:
run: echo "MAVEN_WRAPPER_HOME=$(./mvnw --version | grep "Maven home:" | cut -c 13-)" >> "$GITHUB_ENV"

- name: Build Maven artifacts
run: ./mvnw clean verify "-Dmaven.home=${{ env.MAVEN_WRAPPER_HOME }}" -PuseJenkinsSnapshots -Pstrict-jdk-21 -f org.eclipse.xtext.maven.releng
run: ./mvnw clean verify -B -fae "-Dmaven.home=${{ env.MAVEN_WRAPPER_HOME }}" -PuseJenkinsSnapshots -Pstrict-jdk-21 -f org.eclipse.xtext.maven.releng

- name: Archive Test Results
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 11a90e6

Please sign in to comment.