Correct condition syntax in "Prepare Coverage GitHub Pages" step.l (#329)

* Correct syntax.

* Update regression_template.yml

* Update regression_template.yml
This commit is contained in:
Ting Zhu
2023-11-30 10:52:29 +08:00
committed by GitHub
parent 55673c2410
commit 776ea213ce

View File

@@ -134,7 +134,7 @@ jobs:
- name: Prepare Coverage GitHub Pages - name: Prepare Coverage GitHub Pages
if: (!inputs.skip_coverage) if: (!inputs.skip_coverage)
run: >- 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 }} \ mv ${{ inputs.cmake_path }}/coverage_report/${{ inputs.coverage_name }} \
${{ inputs.cmake_path }}/coverage_report/${{ inputs.result_affix }} ${{ inputs.cmake_path }}/coverage_report/${{ inputs.result_affix }}
fi fi