From 9c56dc7d31d607c0ebc139e4a1adbe247766bb33 Mon Sep 17 00:00:00 2001 From: Anthony Stirling <77850077+Frooodle@users.noreply.github.com> Date: Sat, 19 Oct 2024 16:09:24 +0100 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6aff31964..a898c3bc1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -36,7 +36,12 @@ jobs: gradle-version: 8.7 - name: Build with Gradle - run: ./gradlew build --no-build-cache + run: | + if ! ./gradlew build --no-build-cache; then + echo "Gradle build failed. Printing test report:" + cat build/reports/tests/test/index.html + exit 1 + fi docker-compose-tests: # if: github.event_name == 'push' && github.ref == 'refs/heads/main' ||