From ebe373b1f33d942f62718e89f2c227813e2fc7b7 Mon Sep 17 00:00:00 2001 From: Ting Zhu Date: Wed, 29 Nov 2023 14:17:16 +0800 Subject: [PATCH] Add additional condition for "Prepare Coverage GitHub Pages" step. --- .github/workflows/regression_template.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/regression_template.yml b/.github/workflows/regression_template.yml index ae84682c3..3dd1b8c8a 100644 --- a/.github/workflows/regression_template.yml +++ b/.github/workflows/regression_template.yml @@ -134,7 +134,7 @@ jobs: - name: Prepare Coverage GitHub Pages if: (!inputs.skip_coverage) run: >- - if [ "${{ inputs.result_affix }}" != "" ]; then + if [ "${{ inputs.result_affix }}" != "" ] && [ inputs.skip_deploy ]; then mv ${{ inputs.cmake_path }}/coverage_report/${{ inputs.coverage_name }} \ ${{ inputs.cmake_path }}/coverage_report/${{ inputs.result_affix }} fi