refactor(ci): adjust indentation in release workflow for clarity
- Modified the indentation of commands in the release workflow to improve readability and maintainability. - Ensured consistent formatting for better alignment with coding standards. Benefits: - Enhances the clarity of the CI workflow, making it easier for contributors to understand and modify the build process.
This commit is contained in:
10
.github/workflows/release.yml
vendored
10
.github/workflows/release.yml
vendored
@@ -537,11 +537,11 @@ jobs:
|
|||||||
else
|
else
|
||||||
CORES=2
|
CORES=2
|
||||||
fi
|
fi
|
||||||
echo "Using $CORES parallel jobs"
|
echo "Using $CORES parallel jobs"
|
||||||
cmake --build build --parallel $CORES 2>&1 | tee build.log
|
cmake --build build --parallel $CORES 2>&1 | tee build.log
|
||||||
if command -v ccache >/dev/null 2>&1; then
|
if command -v ccache >/dev/null 2>&1; then
|
||||||
ccache --show-stats
|
ccache --show-stats
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: "Report Build Failure"
|
- name: "Report Build Failure"
|
||||||
if: failure() && steps.build.outcome == 'failure'
|
if: failure() && steps.build.outcome == 'failure'
|
||||||
|
|||||||
Reference in New Issue
Block a user