1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2026-04-26 07:14:59 +02:00
Files
Workflow config file is invalid. Please check your config file: invalid jobs: input node is not a mapping node
Martin Geisler 17a04070ed Don’t automatically install recommended packages (#2923)
Co-authored-by: Michael Kerscher <kerscher@google.com>
2025-10-01 20:33:48 +00:00

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