From 3605818fd0ad1fc830cdd4bba59efd3f3e5b9006 Mon Sep 17 00:00:00 2001 From: alandefreitas Date: Wed, 16 Oct 2024 23:32:27 -0300 Subject: [PATCH] build: update cpp reference extension --- .github/workflows/publish.yml | 5 ++++- package-lock.json | 8 ++++---- package.json | 2 +- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 11ee6b5..e53c231 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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 diff --git a/package-lock.json b/package-lock.json index c4386b8..07d412a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -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", diff --git a/package.json b/package.json index 10670e7..faba4cf 100644 --- a/package.json +++ b/package.json @@ -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",