From 9e591a63829e5a148216c70dcc8e0eef0289cc08 Mon Sep 17 00:00:00 2001 From: Sirac Ozmen Date: Sat, 24 Oct 2026 07:02:13 +0300 Subject: [PATCH] feat(ci): let a cell upload more logs when it fails --- .github/workflows/cpp.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cpp.yml b/.github/workflows/cpp.yml index 26cc35f..90ca494 100644 --- a/.github/workflows/cpp.yml +++ b/.github/workflows/cpp.yml @@ -52,6 +52,12 @@ on: description: The job's timeout in minutes. type: number default: 20 + logs: + description: >- + More paths to upload with the test logs when the job fails, one per + line, such as the logs of a server a test fixture starts. + type: string + default: "" permissions: {} @@ -156,7 +162,9 @@ jobs: uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 with: name: logs-${{ inputs.preset }} - path: out/${{ inputs.preset }}/Testing/Temporary/ + path: | + out/${{ inputs.preset }}/Testing/Temporary/ + ${{ inputs.logs }} if-no-files-found: ignore retention-days: 7