You've already forked comprehensive-rust
mirror of
https://github.com/google/comprehensive-rust.git
synced 2026-04-26 07:14:59 +02:00
17a04070ed
Co-authored-by: Michael Kerscher <kerscher@google.com>
37 lines
1008 B
YAML
37 lines
1008 B
YAML
name: Install mdbook and dependencies
|
|
|
|
description: Install mdbook with the dependencies we need.
|
|
|
|
runs:
|
|
using: composite
|
|
steps:
|
|
- name: Ensure cargo-binstall is installed
|
|
uses: cargo-bins/cargo-binstall@main
|
|
|
|
- name: Install mdbook
|
|
run: cargo xtask install-tools --binstall
|
|
shell: bash
|
|
|
|
- name: Install mdbook-pandoc dependencies
|
|
uses: ./.github/workflows/apt-get-install
|
|
with:
|
|
packages: >
|
|
fonts-noto
|
|
fonts-noto-cjk
|
|
fonts-noto-color-emoji
|
|
fonts-noto-extra
|
|
fonts-symbola
|
|
librsvg2-bin
|
|
texlive
|
|
texlive-fonts-recommended
|
|
texlive-lang-arabic
|
|
texlive-lang-cjk
|
|
texlive-lang-japanese
|
|
texlive-luatex
|
|
|
|
- name: Install mdbook-pandoc
|
|
run: |
|
|
curl -LsSf https://github.com/jgm/pandoc/releases/download/3.7.0.1/pandoc-3.7.0.1-linux-amd64.tar.gz | tar zxf -
|
|
echo "$PWD/pandoc-3.7.0.1/bin" >> $GITHUB_PATH
|
|
shell: bash
|