Skip to content

Why is the github suggested run configuration a lot slower than the one in the wiki? It's 7x slower #3159

Description

@bonparker

Question

From:
(Takes 16 seconds)
(From the MD book wiki as of 11/07/2026)

run: |
tag=$(curl 'https://api.github.com/repos/rust-lang/mdbook/releases/latest' | jq -r '.tag_name')
url="https://github.com/rust-lang/mdbook/releases/download/${tag}/mdbook-${tag}-x86_64-unknown-linux-gnu.tar.gz"
mkdir mdbook
curl -sSL $url | tar -xz --directory=./mdbook
echo pwd/mdbook >> $GITHUB_PATH

To:
(Takes 1 minute 53 seconds)
(Suggested by github as the default yaml file for setting up an MD Book action as of 11/07/2026)

run: |
curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf -y | sh
rustup update
cargo install --version ${MDBOOK_VERSION} mdbook

Version


Metadata

Metadata

Assignees

No one assigned

    Labels

    C-questionCategory: A question on how to do something

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions