Skip to content

Commit

Permalink
use precompile for mdbook
Browse files Browse the repository at this point in the history
  • Loading branch information
zeroknots committed Feb 22, 2024
1 parent efb60d6 commit 81cffbd
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/mdbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,17 +35,16 @@ jobs:
env:
MDBOOK_VERSION: 0.4.36
steps:
- uses: actions/checkout@v4
- name: Install mdBook
run: |
curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf -y | sh
rustup update
cargo install --version ${MDBOOK_VERSION} mdbook
- uses: peaceiris/actions-mdbook@v1
with:
mdbook-version: "latest"
- name: Setup Pages
id: pages
uses: actions/configure-pages@v4

- name: Build with mdBook
run: mdbook build docs

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
Expand Down

0 comments on commit 81cffbd

Please sign in to comment.