File tree Expand file tree Collapse file tree 1 file changed +17
-4
lines changed Expand file tree Collapse file tree 1 file changed +17
-4
lines changed Original file line number Diff line number Diff line change @@ -30,14 +30,27 @@ jobs:
3030 build :
3131 runs-on : ubuntu-latest
3232 env :
33- MDBOOK_VERSION : 0.4.44
33+ MDBOOK_VERSION : 0.4.45
3434 steps :
3535 - uses : actions/checkout@v4
3636 - name : Install mdBook
3737 run : |
38- curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf -y | sh
39- rustup update
40- cargo install --version ${MDBOOK_VERSION} mdbook
38+ set -e
39+
40+ # Download and install
41+ URL="https://github.com/rust-lang/mdBook/releases/download/v${MDBOOK_VERSION}/mdbook-v${MDBOOK_VERSION}-x86_64-unknown-linux-gnu.tar.gz"
42+ echo "Downloading: $URL"
43+ curl -L "$URL" -o mdbook.tar.gz
44+
45+ tar -xzf mdbook.tar.gz
46+ chmod +x mdbook
47+ sudo mv mdbook /usr/local/bin/
48+
49+ # Clean up
50+ rm -f mdbook.tar.gz
51+
52+ echo "MDBook v$LATEST_VERSION installed successfully!"
53+ mdbook --version
4154 - name : Setup Pages
4255 id : pages
4356 uses : actions/configure-pages@v5
You can’t perform that action at this time.
0 commit comments