Skip to content

Commit 3f28945

Browse files
authored
Use mdbook from release and don't compile
1 parent 58a788f commit 3f28945

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/mdbook.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ jobs:
3434
- uses: actions/checkout@v4
3535
- name: Install mdBook
3636
run: |
37-
curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf -y | sh
38-
rustup update
39-
cargo install --version ${MDBOOK_VERSION} mdbook
37+
mkdir mdbook
38+
curl -sSL https://github.com/rust-lang/mdBook/releases/download/v${MDBOOK_VERSION}/mdbook-v${MDBOOK_VERSION}-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=./mdbook
39+
echo "$PWD/mdbook" >> $GITHUB_PATH
4040
- name: Setup Pages
4141
id: pages
4242
uses: actions/configure-pages@v5

0 commit comments

Comments
 (0)