Skip to content

Commit

Permalink
ci: demos command is single-line
Browse files Browse the repository at this point in the history
  • Loading branch information
alandefreitas committed Jun 14, 2024
1 parent c7d2920 commit 7f12879
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -450,15 +450,7 @@ jobs:
for variant in single multi; do
for generator in "${generators[@]}"; do
[[ $variant = multi ]] && multipage="true" || multipage="false"
# Override with cmd line option
mrdocs \
--config="$(pwd)/boost/libs/url/doc/mrdocs.yml" \
"../CMakeLists.txt" \
--output="$(pwd)/demos/boost-url/$variant/$generator" \
--multipage=$multipage \
--generate="$$generator"
# Print number of files (recursive) in the output directory
mrdocs --config="$(pwd)/boost/libs/url/doc/mrdocs.yml" "../CMakeLists.txt" --output="$(pwd)/demos/boost-url/$variant/$generator" --multipage=$multipage --generate="$generator"
echo "Number of files in demos/boost-url/$variant/$format: $(find demos/boost-url/$variant/$format -type f | wc -l)"
done
asciidoctor -d book -R "$(pwd)/demos/boost-url/$variant/adoc" -D "$(pwd)/demos/boost-url/$variant/adoc-asciidoc" "$(pwd)/demos/boost-url/$variant/adoc/**/*.adoc"
Expand Down Expand Up @@ -613,7 +605,7 @@ jobs:
- name: Check info nodes
run: |
set -x
chmod +x .github/check_info_nodes.sh
chmod +x .github/check_info_nodes_support.sh
.github/check_info_nodes_support.sh
- name: Create GitHub Package Release
Expand Down

0 comments on commit 7f12879

Please sign in to comment.