mirror of
https://github.com/boostorg/website-v2-docs.git
synced 2026-01-19 04:42:17 +00:00
Add Error Handling for Missing lib Directory in CI (publish) Workflow (#393)
* add 'set -e' to libdoc.sh for better error handling * enhance publish.yml workflow with 'set -e' for error handling in CI script * add 'set -x' to libdoc.sh for command tracing
This commit is contained in:
2
.github/workflows/publish.yml
vendored
2
.github/workflows/publish.yml
vendored
@@ -135,6 +135,7 @@ jobs:
|
||||
if: steps.build.outputs.build-libs == 'true'
|
||||
shell: bash
|
||||
run: |
|
||||
set -e
|
||||
set -x
|
||||
BOOST_SRC_DIR="${{ steps.boost-clone.outputs.boost-dir }}"
|
||||
export BOOST_SRC_DIR
|
||||
@@ -145,6 +146,7 @@ jobs:
|
||||
shell: bash
|
||||
working-directory: build
|
||||
run: |
|
||||
set -e
|
||||
set -x
|
||||
find "lib" -mindepth 1 -maxdepth 1 -type d -exec rm -r {} +
|
||||
# find "cpp-reference-extension" -mindepth 1 -maxdepth 1 -type d -exec rm -r {} +
|
||||
|
||||
Reference in New Issue
Block a user