1
0
mirror of https://github.com/azure-rtos/threadx synced 2025-01-16 07:42:57 +08:00

Merge pull request #328 from ting-ms/master

Add additional condition for "Prepare Coverage GitHub Pages" step.
This commit is contained in:
Bo Chen 2023-11-29 15:48:44 +08:00 committed by GitHub
commit 55673c2410
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 }}" != "" ]; 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