summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTing Zhu <[email protected]>2023-11-29 14:17:16 +0800
committerGitHub <[email protected]>2023-11-29 14:17:16 +0800
commitebe373b1f33d942f62718e89f2c227813e2fc7b7 (patch)
treeabab404a29308cc75b666235acdca04a1b0d8f13
parenta8e5d0946c31385ff97bb27b67b2cdd905b9a58b (diff)
Add additional condition for "Prepare Coverage GitHub Pages" step.
-rw-r--r--.github/workflows/regression_template.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/regression_template.yml b/.github/workflows/regression_template.yml
index ae84682c..3dd1b8c8 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