From 741d89143292daebbe6f7925e2260aa72c55beaf Mon Sep 17 00:00:00 2001 From: Richard Murillo Date: Fri, 31 May 2024 10:31:56 -0700 Subject: [PATCH] Update main.yml to upload .received on failure (#34) When using Verify, when there is a failure upload the *.received.* files for comparison (in case of LF or BOM differences, not just contents). --- .github/workflows/main.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c952c8a2..8795ac41 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -47,6 +47,14 @@ jobs: path: "artifacts/TestResults/**/*.trx" if-no-files-found: error + - name: Upload Test Results + uses: actions/upload-artifact@v2 + if: failure() + with: + name: verify-test-results + path: | + **/*.received.* + - name: Upload binlogs uses: actions/upload-artifact@v4 with: @@ -61,4 +69,4 @@ jobs: # name: packages-${{ matrix.os }} # path: | # ./artifacts/package - # if-no-files-found: error \ No newline at end of file + # if-no-files-found: error