From 776ea213ced90956582ba948469bc17378425a8b Mon Sep 17 00:00:00 2001 From: Ting Zhu Date: Thu, 30 Nov 2023 10:52:29 +0800 Subject: [PATCH] Correct condition syntax in "Prepare Coverage GitHub Pages" step.l (#329) * Correct syntax. * Update regression_template.yml * Update regression_template.yml --- .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 3dd1b8c8a..d8501f210 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 }}" != "" ] && [ inputs.skip_deploy ]; 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