From db90542fa2aa5606b85da48ad93c2945c160f8ab Mon Sep 17 00:00:00 2001 From: Pavlos Rontidis Date: Wed, 22 Jan 2025 17:12:03 -0500 Subject: [PATCH] chore(ci): display regression report in summary (#22284) * chore(ci): display regression report in summary * fix path * fix path --- .github/workflows/regression.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/regression.yml b/.github/workflows/regression.yml index 1f425d11ffe7f..f6b69c446d25e 100644 --- a/.github/workflows/regression.yml +++ b/.github/workflows/regression.yml @@ -547,6 +547,22 @@ jobs: env: FAILED: ${{ contains(needs.*.result, 'failure') }} steps: + - name: Download capture-artifacts + uses: actions/download-artifact@v4 + with: + name: capture-artifacts + path: downloads + + - name: Display Markdown Summary + run: | + unzip downloads/capture-artifacts -d results + REPORT_MD=results/report.md + if [ -f ${REPORT_MD} ]; then + cat ${REPORT_MD} >> $GITHUB_STEP_SUMMARY + else + echo "Did not find ${REPORT_MD} file." + fi + - name: exit run: | echo "failed=${{ env.FAILED }}"