From 6e658cd8d7738240207e703f70a2dc135fac44b3 Mon Sep 17 00:00:00 2001 From: Jacqueline Zhang Date: Sun, 14 Jul 2024 19:05:34 +0800 Subject: [PATCH] updae yml file --- .github/workflows/run-full-regression-test.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/run-full-regression-test.yml b/.github/workflows/run-full-regression-test.yml index 331aeb5..c20303d 100644 --- a/.github/workflows/run-full-regression-test.yml +++ b/.github/workflows/run-full-regression-test.yml @@ -64,9 +64,16 @@ jobs: ./test-reports if: always() + - name: Get test report name + id: get-report-name + run: | + REPORT_NAME=$(ls ./test-reports/*.html) + echo "Report name: $REPORT_NAME" + echo "::set-output name=report_name::$REPORT_NAME" + - name: Deploy report to GitHub Pages if: always() - uses: peaceiris/actions-gh-pages@v3 + uses: peaceiris/actions-gh-pages@v4 with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./test-reports