1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-07-05 06:00:30 +02:00

Add more tools to install instructions. (#2756)

Install mdbook-linkcheck2 via xtask, rather than separate step.
This commit is contained in:
Andrew Walbran
2025-05-23 21:16:57 +01:00
committed by GitHub
parent c60070bb80
commit a0e1add083
3 changed files with 4 additions and 7 deletions

View File

@ -161,12 +161,6 @@ jobs:
MDBOOK_OUTPUT='{"xgettext": {"pot-file": "messages.pot"}}' mdbook build -d po
msgfmt -o /dev/null --statistics po/messages.pot
- name: Install mdbook-linkcheck2
if: contains(fromJSON(env.LINK_CHECKED_LANGUAGES), matrix.language)
run: |
cargo uninstall mdbook-linkcheck || true
cargo install mdbook-linkcheck2 --locked --version 0.9.1
- name: Build ${{ matrix.language }} translation
run: |
.github/workflows/build.sh ${{ matrix.language }} book/comprehensive-rust-${{ matrix.language }}