Skip to content

Commit 82389ae

Browse files
authored
hardcode mdbook-toc version (#19)
1 parent 4651d4a commit 82389ae

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/mdbook.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,14 @@ jobs:
3030
runs-on: ubuntu-latest
3131
env:
3232
MDBOOK_VERSION: 0.4.49
33+
MDBOOK_TOC_VERSION: 0.14.2
3334
steps:
3435
- uses: actions/checkout@v5
3536
- name: Install mdBook
3637
run: |
3738
curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf -y | sh
3839
cargo install --version ${MDBOOK_VERSION} mdbook
39-
cargo install mdbook-toc
40+
cargo install --version ${MDBOOK_TOC_VERSION} mdbook-toc
4041
- name: Setup Pages
4142
id: pages
4243
uses: actions/configure-pages@v5
@@ -50,7 +51,7 @@ jobs:
5051

5152
# Deployment job
5253
deploy:
53-
if: github.ref == 'refs/heads/main' # Run only if on main branch
54+
if: github.ref == 'refs/heads/main' # Run only if on main branch
5455
environment:
5556
name: github-pages
5657
url: ${{ steps.deployment.outputs.page_url }}

0 commit comments

Comments
 (0)