build: update cpp reference extension

This commit is contained in:
alandefreitas
2024-10-16 23:32:27 -03:00
committed by Alan de Freitas
parent 898b7b2feb
commit 3605818fd0
3 changed files with 9 additions and 6 deletions

View File

@@ -27,6 +27,7 @@ jobs:
include:
- { name: 'Ubuntu', os: ubuntu-22.04, publish: true }
- { name: 'Windows', os: windows-2022 }
- { name: 'MacOS', os: macos-latest }
name: Publish Antora Docs (${{ matrix.name }})
runs-on: ${{ matrix.os }}
steps:
@@ -57,18 +58,20 @@ jobs:
changed_ext=$(echo "$changed_files" | grep -q "extensions/" && echo true || echo false)
changed_actions=$(echo "$changed_files" | grep -q ".github/" && echo true || echo false)
changed_libs=$(echo "$changed_files" | grep -q "libs.playbook.yml" && echo true || echo false)
changed_packages=$(echo "$changed_files" | grep -q "package.json" && echo true || echo false)
else
# Assume anything might have changed
changed_ui=true
changed_ext=true
changed_actions=true
changed_libs=true
changed_packages=true
fi
set -x
# Only build lib playbook if it changed
if [ "$changed_ui" = true ] || [ "$changed_ext" = true ] || [ "$changed_libs" = true ] || [ "$changed_actions" = true ]; then
if [ "$changed_ui" = true ] || [ "$changed_ext" = true ] || [ "$changed_libs" = true ] || [ "$changed_actions" = true ] || [ "$changed_packages" = true ]; then
echo "build-libs=true" >> $GITHUB_OUTPUT
else
echo "build-libs=false" >> $GITHUB_OUTPUT

8
package-lock.json generated
View File

@@ -7,7 +7,7 @@
"dependencies": {
"@antora/lunr-extension": "^1.0.0-alpha.8",
"@asciidoctor/tabs": "^1.0.0-beta.3",
"@cppalliance/antora-cpp-reference-extension": "^0.0.4",
"@cppalliance/antora-cpp-reference-extension": "^0.0.5",
"@cppalliance/antora-cpp-tagfiles-extension": "^0.0.4",
"@cppalliance/antora-playbook-macros-extension": "^0.0.2",
"@cppalliance/asciidoctor-boost-links": "^0.0.2"
@@ -47,9 +47,9 @@
}
},
"node_modules/@cppalliance/antora-cpp-reference-extension": {
"version": "0.0.4",
"resolved": "https://registry.npmjs.org/@cppalliance/antora-cpp-reference-extension/-/antora-cpp-reference-extension-0.0.4.tgz",
"integrity": "sha512-S/jqpNXq0it3YvUaMAo+mfD13Q7YbmzBsFKwGDh4rjbrwOI7FPHrCMQZBwO3lz96MIMLlOhk5s/n8al8iyLO5Q==",
"version": "0.0.5",
"resolved": "https://registry.npmjs.org/@cppalliance/antora-cpp-reference-extension/-/antora-cpp-reference-extension-0.0.5.tgz",
"integrity": "sha512-wSJgtb6FF/s3n9ex7HT7dFHimzaLLvkcNsy0CtL74chOGnAXbQlmuK5Jfw0BvgkdBtaazekgRC4lh/Gktw2aFw==",
"dependencies": {
"@antora/expand-path-helper": "^2.0.0",
"axios": "^1.7.2",

View File

@@ -1,6 +1,6 @@
{
"dependencies": {
"@cppalliance/antora-cpp-reference-extension": "^0.0.4",
"@cppalliance/antora-cpp-reference-extension": "^0.0.5",
"@cppalliance/antora-cpp-tagfiles-extension": "^0.0.4",
"@cppalliance/antora-playbook-macros-extension": "^0.0.2",
"@cppalliance/asciidoctor-boost-links": "^0.0.2",