1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-01-05 16:10:31 +02:00
comprehensive-rust/.github/workflows/install-mdbook/action.yml
Martin Geisler 0e8d3e77c2
Update mdbook and mdbook-i18n-helpers (#1658)
This also ports over the `mdbook` theme changes between version 0.4.35
and 0.4.36.
2024-01-05 15:56:18 +01:00

29 lines
843 B
YAML

name: Install mdbook and dependencies
description: Install mdbook with the dependencies we need.
runs:
using: composite
steps:
# The --locked flag is important for reproducible builds. It also
# avoids breakage due to skews between mdbook and mdbook-svgbob.
- name: Install mdbook
run: cargo install mdbook --locked --version 0.4.36
shell: bash
- name: Install mdbook-svgbob
run: cargo install mdbook-svgbob --locked --version 0.2.1
shell: bash
- name: Install mdbook-i18n-helpers
run: cargo install mdbook-i18n-helpers --locked --version 0.3.1
shell: bash
- name: Install mdbook-exerciser
run: cargo install --path mdbook-exerciser --locked
shell: bash
- name: Install mdbook-course
run: cargo install --path mdbook-course --locked
shell: bash