mirror of
https://github.com/azure-rtos/threadx
synced 2025-01-30 08:02:57 +08:00
Merge pull request #336 from wenhui-xie/add_sudo
Add sudo to move coverage folder created by root user.
This commit is contained in:
commit
dbfad5d126
3
.github/workflows/regression_template.yml
vendored
3
.github/workflows/regression_template.yml
vendored
@ -131,11 +131,12 @@ jobs:
|
|||||||
header: Code Coverage ${{ inputs.result_affix }}
|
header: Code Coverage ${{ inputs.result_affix }}
|
||||||
path: code-coverage-results.md
|
path: code-coverage-results.md
|
||||||
|
|
||||||
|
# Add sudo to move coverage folder created by root user
|
||||||
- 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 }} \
|
sudo 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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user