Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/parallel-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,11 @@ jobs:
- uses: ./.github/actions/setup
with:
cache: exercise-book
- run: curl -sSL https://github.com/jonathanpallant/mdBook/releases/download/v0.5.2-current-page-active/mdbook -o ~/.cargo/bin/mdbook
- run: chmod a+x ~/.cargo/bin/mdbook
- uses: taiki-e/install-action@v2
with:
tool: mdbook@0.5.2,mdbook-graphviz@0.3.1
tool: mdbook-graphviz@0.3.1
- run: just test-mdbook
- run: just build-mdbook
- uses: actions/upload-artifact@v4
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/weekly-canary-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,12 @@ jobs:
with:
cache: exercise-book
channel: ${{ matrix.rust-channel }}
- name: Install mdbook, mdbook-graphviz
- run: curl -sSL https://github.com/jonathanpallant/mdBook/releases/download/v0.5.2-current-page-active/mdbook -o ~/.cargo/bin/mdbook
- run: chmod a+x ~/.cargo/bin/mdbook
- name: Install mdbook-graphviz
uses: taiki-e/install-action@v2
with:
tool: mdbook@0.5.2,mdbook-graphviz@0.3.1
tool: mdbook-graphviz@0.3.1
- run: just test-mdbook
- run: just build-mdbook
- name: Upload mdbook artifacts
Expand Down
4 changes: 3 additions & 1 deletion cloudflare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ if [ "$(uname)" == "Darwin" ]; then
dot -V || brew install graphviz
mdbook-graphviz --version || cargo install mdbook-graphviz@0.3.1 --locked
else
./mdbook --version || curl -sSL https://github.com/rust-lang/mdBook/releases/download/v0.5.2/mdbook-v0.5.2-x86_64-unknown-linux-gnu.tar.gz | tar -xvzf -
#./mdbook --version || curl -sSL https://github.com/rust-lang/mdBook/releases/download/v0.5.2/mdbook-v0.5.2-x86_64-unknown-linux-gnu.tar.gz | tar -xvzf -
# This one carries a patch we want
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we refer to the commit/PR of the patch here? Or is it something that will soon be reverted to a released version anyway?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That info should be in the release info in that GitHub fork. I think.

./mdbook --version || ( curl -sSL https://github.com/jonathanpallant/mdBook/releases/download/v0.5.2-current-page-active/mdbook -o ./mdbook && chmod a+x ./mdbook )
dot -V || ( curl -ssL https://github.com/restruct/dot-static/raw/refs/heads/master/x64/dot_static -o ./dot && chmod a+x ./dot )
./mdbook-graphviz --version || ( curl -sSL https://github.com/dylanowen/mdbook-graphviz/releases/download/v0.3.1/mdbook-graphviz_v0.3.1_x86_64-unknown-linux-musl.zip -o mdbook-graphviz.zip \
&& unzip mdbook-graphviz.zip \
Expand Down
Loading