1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-04-21 15:35:53 +02:00

Revert "Upgrade mdbook-pandoc to fix missing images in PDFs" (#2540)

Reverts google/comprehensive-rust#2531

This accidentally broke the build because the Persian translation
doesn't build with this version.
This commit is contained in:
Martin Geisler 2025-01-05 11:15:20 -05:00 committed by GitHub
parent 8173e5fd74
commit 76e2cfe53e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -17,11 +17,11 @@ runs:
- name: Install mdbook-pandoc and related dependencies - name: Install mdbook-pandoc and related dependencies
run: | run: |
cargo install mdbook-pandoc --locked --version 0.8.0 cargo install mdbook-pandoc --locked --version 0.7.0
sudo apt-get update sudo apt-get update
sudo apt-get install -y texlive texlive-luatex texlive-lang-cjk librsvg2-bin fonts-noto sudo apt-get install -y texlive texlive-luatex texlive-lang-cjk librsvg2-bin fonts-noto
curl -LsSf https://github.com/jgm/pandoc/releases/download/3.6.1/pandoc-3.6.1-linux-amd64.tar.gz | tar zxf - curl -LsSf https://github.com/jgm/pandoc/releases/download/3.2.1/pandoc-3.2.1-linux-amd64.tar.gz | tar zxf -
echo "$PWD/pandoc-3.6.1/bin" >> $GITHUB_PATH echo "$PWD/pandoc-3.2.1/bin" >> $GITHUB_PATH
shell: bash shell: bash
- name: Install mdbook-i18n-helpers - name: Install mdbook-i18n-helpers