From 0f5f5e0ca7cceb56b4213b51192fcb84726a0c64 Mon Sep 17 00:00:00 2001 From: Janne Valkealahti Date: Mon, 10 Apr 2023 16:27:16 +0100 Subject: [PATCH] Upload buildlogs with failure in e2e tests --- .github/workflows/e2e.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 90576fb4..01359bac 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -47,6 +47,14 @@ jobs: spring-shell-samples/build/libs/*.jar spring-shell-samples/build/native/nativeCompile/spring-shell-samples spring-shell-samples/build/native/nativeCompile/spring-shell-samples.exe + - name: Upload Build Logs + if: ${{ failure() }} + uses: actions/upload-artifact@v3 + with: + name: buildlogs-${{ matrix.nickname }} + path: | + */build/reports + */*/build/reports e2e: runs-on: ${{ matrix.os }} needs: build