Fix CI: copy l10n before docs build, handle manpage build failures

- Move l10n locale copy to a separate workflow step before docs build
  to avoid triggering uudoc rebuilds with different cargo features
- Build uudoc once, then reuse for all languages
- Handle per-language build failures gracefully (skip and continue)
- Remove unused L10N_DIR parameter from build-all-manpages.sh
This commit is contained in:
Sylvestre Ledru
2026-03-21 23:03:03 +01:00
parent 59735c57a6
commit f16fe412fd
2 changed files with 26 additions and 21 deletions
+6 -1
View File
@@ -55,6 +55,11 @@ jobs:
with:
tool: mdbook,mdbook-toc
- name: Copy l10n locales into coreutils
run: |
cp -r coreutils-l10n/src/uu/* coreutils/src/uu/ 2>/dev/null || true
cp -r coreutils-l10n/src/uucore/* coreutils/src/uucore/ 2>/dev/null || true
- name: Build Coreutils Docs
run: |
cd coreutils
@@ -67,7 +72,7 @@ jobs:
- name: Build Coreutils Manpages (all languages)
run: |
uutils.github.io/scripts/build-all-manpages.sh coreutils coreutils-l10n manpages-html uutils.github.io/templates
uutils.github.io/scripts/build-all-manpages.sh coreutils manpages-html uutils.github.io/templates
- name: Build Findutils Docs
run: |