Skip to content

Commit ebe373b

Browse files
author
Ting Zhu
authored
Add additional condition for "Prepare Coverage GitHub Pages" step.
1 parent a8e5d09 commit ebe373b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/regression_template.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ jobs:
134134
- name: Prepare Coverage GitHub Pages
135135
if: (!inputs.skip_coverage)
136136
run: >-
137-
if [ "${{ inputs.result_affix }}" != "" ]; then
137+
if [ "${{ inputs.result_affix }}" != "" ] && [ inputs.skip_deploy ]; then
138138
mv ${{ inputs.cmake_path }}/coverage_report/${{ inputs.coverage_name }} \
139139
${{ inputs.cmake_path }}/coverage_report/${{ inputs.result_affix }}
140140
fi

0 commit comments

Comments
 (0)