From 270180674b72c19a6c61dfb3798cbaaa356e84fc Mon Sep 17 00:00:00 2001 From: Chris Date: Mon, 14 Sep 2026 22:01:04 +0800 Subject: [PATCH] Retain profile service failure evidence (#7868) ci: retain profile service failure evidence --- .github/workflows/connect-profile-cpu-acceptance.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/connect-profile-cpu-acceptance.yml b/.github/workflows/connect-profile-cpu-acceptance.yml index 5c7b51434..6517f0461 100644 --- a/.github/workflows/connect-profile-cpu-acceptance.yml +++ b/.github/workflows/connect-profile-cpu-acceptance.yml @@ -154,6 +154,7 @@ jobs: make -C connect-harness e2e-connected E2E_SCENARIO=profile - name: Bind workflow and artifact provenance + if: ${{ always() && hashFiles('profile-service-job-evidence.json') != '' }} shell: bash env: BUILD_RUN_ID: ${{ inputs.build_run_id }} @@ -175,6 +176,7 @@ jobs: mv profile-service-job-evidence.bound.json profile-service-job-evidence.json - name: Upload acceptance evidence + if: ${{ always() && hashFiles('profile-service-job-evidence.json') != '' }} uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6 with: name: connect-profile-cpu-evidence-${{ github.run_id }}