Skip to content

Commit

Permalink
Fix mdbook-toc compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
romac committed Jul 17, 2023
1 parent 738100e commit c600da1
Showing 1 changed file with 4 additions and 35 deletions.
39 changes: 4 additions & 35 deletions .github/workflows/guide.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,45 +17,14 @@ concurrency:

jobs:
guide:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3

- name: cache .cargo directory
uses: actions/cache@v3
- name: Install mdbook and plugins
uses: taiki-e/install-action@v2
with:
path: ~/.cargo
key: cargo-dir
restore-keys: |
cargo-dir
- name: Install mdbook
uses: actions-rs/install@v0.1
with:
crate: mdbook
version: latest
use-tool-cache: true

- name: Install mdbook-mermaid
uses: actions-rs/install@v0.1
with:
crate: mdbook-mermaid
version: latest
use-tool-cache: true

- name: Install mdbook-template
uses: actions-rs/install@v0.1
with:
crate: mdbook-template
version: latest
use-tool-cache: true

- name: Install mdbook-toc
uses: actions-rs/install@v0.1
with:
crate: mdbook-toc
version: latest
use-tool-cache: true
tool: mdbook,mdbook-mermaid,mdbook-template,mdbook-toc

- name: Build guide
run: |
Expand Down

0 comments on commit c600da1

Please sign in to comment.