From a8e3c274ac649797fe3ab3ab351a517f5d9153cc Mon Sep 17 00:00:00 2001 From: Jacek Sieka Date: Sun, 31 Dec 2023 12:02:41 +0100 Subject: [PATCH] self-compile rust deps --- .github/workflows/gh-pages.yml | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 410c8c8..67e49e3 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -11,14 +11,24 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: cargo-bins/cargo-binstall@main + - uses: baptiste0928/cargo-install@v2 + with: + crate: mdbook + version: 0.4.36 + - uses: baptiste0928/cargo-install@v2 + with: + crate: mdbook-toc + version: 0.14.1 + - uses: baptiste0928/cargo-install@v2 + with: + crate: mdbook-open-on-gh + version: 2.4.1 + - uses: baptiste0928/cargo-install@v2 + with: + crate: mdbook-admonish + version: 1.14.0 - name: Build book run: | - cargo binstall --no-confirm mdbook --version 0.4.36 - cargo binstall --no-confirm mdbook-toc --version 0.14.1 - cargo binstall --no-confirm mdbook-open-on-gh --version 2.4.1 - cargo binstall --no-confirm mdbook-admonish --version 1.14.0 - PATH=.cargo/bin:$PATH mdbook build docs - name: Deploy