redhat-documentation / vale-at-red-hat

Vale config files, styles, and docs to help individuals and teams roll out Vale
https://redhat-documentation.github.io/vale-at-red-hat/
MIT License
37 stars 58 forks source link

Build preview exits with an error and warnings #371

Closed rolfedh closed 1 year ago

rolfedh commented 1 year ago

See https://github.com/redhat-documentation/vale-at-red-hat/actions/runs/3314980842 or the attached PDF: Doc topic_ How to validate a rule change locally - for example, again… · redhat-documentation_vale-at-red-hat@9caaf3f.pdf

Building a preview generates 

Preview build
Process completed with exit code 1.
Preview build
Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. Please update the following actions to use Node.js 16: actions/checkout, actions/cache, actions/checkout
Preview build
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Preview build
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
themr0c commented 1 year ago

The build failure is legitimate:

Run tools/publication-builder.sh
+ CI=true
+ antora generate antora-playbook.yml
[17:57:03.944] ERROR (asciidoctor): target of include not found: partial$proc_validating-your-changes.adoc
    file: /__w/vale-at-red-hat/vale-at-red-hat/modules/contributor-guide/pages/extending-the-redhat-style.adoc:16
    source: /__w/vale-at-red-hat/vale-at-red-hat (refname: HEAD <worktree>)
[17:57:03.968] ERROR (asciidoctor): target of include not found: partial$proc_validating-your-changes.adoc
    file: /__w/vale-at-red-hat/vale-at-red-hat/modules/contributor-guide/pages/extending-the-spelling-rule.adoc:16
    source: /__w/vale-at-red-hat/vale-at-red-hat (refname: HEAD <worktree>)
[17:57:04.531] INFO (@antora/lunr-extension): Building search index with the language(s): en
Error: Process completed with exit code 1.
rolfedh commented 1 year ago

Thanks for checking, @themr0c. I see now!