From 7c4722b6eebcaa4b17e397207a0caa310ec07ee8 Mon Sep 17 00:00:00 2001 From: Sebastian Castro <4603398+sea-bass@users.noreply.github.com> Date: Mon, 6 Jan 2025 09:48:13 -0500 Subject: [PATCH 1/3] Use unique artifact name to upload logs on CI failure --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 138566b1..fa2aec5f 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -51,5 +51,5 @@ jobs: uses: actions/upload-artifact@v4 if: failure() with: - name: test-results-${{ matrix.env.NAME }} + name: test-results-log-${{ matrix.env.NAME }} path: ${{ env.BASEDIR }}/target_ws/log/* From 1392e85bf847464cf780464753d1d0de96c3afbf Mon Sep 17 00:00:00 2001 From: Sebastian Castro <4603398+sea-bass@users.noreply.github.com> Date: Mon, 6 Jan 2025 09:50:38 -0500 Subject: [PATCH 2/3] rename --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index fa2aec5f..89b56ceb 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -51,5 +51,5 @@ jobs: uses: actions/upload-artifact@v4 if: failure() with: - name: test-results-log-${{ matrix.env.NAME }} + name: logs-${{ matrix.env.NAME }} path: ${{ env.BASEDIR }}/target_ws/log/* From 61aff848e58c1ff14e9e5812166cd3766c8b9f1b Mon Sep 17 00:00:00 2001 From: Sebastian Castro <4603398+sea-bass@users.noreply.github.com> Date: Mon, 6 Jan 2025 09:58:17 -0500 Subject: [PATCH 3/3] overwrite --- .github/workflows/ci.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 89b56ceb..53973b4a 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -47,9 +47,11 @@ jobs: with: name: test-results-${{ matrix.env.NAME }} path: ${{ env.BASEDIR }}/target_ws/**/test_results/**/*.xml + overwrite: true - name: Upload log artifacts (on failure) uses: actions/upload-artifact@v4 if: failure() with: name: logs-${{ matrix.env.NAME }} path: ${{ env.BASEDIR }}/target_ws/log/* + overwrite: true