Skip to content

Commit bc26d52

Browse files
committed
fix mdbook build errors
- use an explicit combination of mdbook and modbook-preprocessor versions that works for this repo, until we update to later versions of mdbook
1 parent 041cee4 commit bc26d52

File tree

2 files changed

+17
-9
lines changed

2 files changed

+17
-9
lines changed

.github/workflows/archive.yml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
name: Build and Archive XRNX_Starter_Pack.zip
22

3-
on: [push]
3+
on:
4+
pull_request:
5+
branches: [ "master" ]
6+
push:
7+
branches:
8+
- master
9+
10+
env:
11+
CARGO_TERM_COLOR: always
412

513
jobs:
614
build:
@@ -13,12 +21,12 @@ jobs:
1321

1422
- name: Install Rust
1523
uses: actions-rust-lang/setup-rust-toolchain@v1
16-
17-
- name: Install binstall
18-
uses: cargo-bins/cargo-binstall@main
24+
with:
25+
cache-workspaces: "docs"
26+
cache-key: "renoise-xrnx"
1927

2028
- name: Install mdbook
21-
run: cargo binstall -y --force mdbook mdbook-linkcheck mdbook-toc mdbook-alerts
29+
run: cargo install mdbook@0.4.51 mdbook-linkcheck@0.7.5 mdbook-toc@0.14.2 mdbook-alerts@0.8.0
2230

2331
- name: Build the API
2432
run: cargo run

.github/workflows/pages.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ jobs:
1616

1717
- name: Install Rust
1818
uses: actions-rust-lang/setup-rust-toolchain@v1
19-
20-
- name: Install binstall
21-
uses: cargo-bins/cargo-binstall@main
19+
with:
20+
cache-workspaces: "docs"
21+
cache-key: "renoise-xrnx"
2222

2323
- name: Install mdbook
24-
run: cargo binstall -y --force mdbook mdbook-linkcheck mdbook-toc mdbook-alerts
24+
run: cargo install mdbook@0.4.51 mdbook-linkcheck@0.7.5 mdbook-toc@0.14.2 mdbook-alerts@0.8.0
2525

2626
- name: Build the API
2727
run: cargo run

0 commit comments

Comments
 (0)