Skip to content

Commit

Permalink
Install mdbook-yapp on CI and remove dependency to plantuml
Browse files Browse the repository at this point in the history
  • Loading branch information
jawoznia committed Mar 20, 2024
1 parent 01e373f commit 73e73d5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,15 @@ jobs:
mkdir mdbook
curl -sSL https://github.com/rust-lang/mdBook/releases/download/v0.4.14/mdbook-v0.4.14-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=./mdbook
echo `pwd`/mdbook >> $GITHUB_PATH
- name: Install plantuml
run: sudo apt-get install plantuml
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Install mdbook-plantuml
- name: Install mdbook-yapp
uses: actions-rs/cargo@v1
with:
command: install
args: mdbook-plantuml
args: mdbook-yapp
- name: Deploy GitHub Pages
run: |
# This assumes your book is in the root of your repository.
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,15 @@ jobs:
mkdir mdbook
curl -sSL https://github.com/rust-lang/mdBook/releases/download/v0.4.14/mdbook-v0.4.14-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=./mdbook
echo `pwd`/mdbook >> $GITHUB_PATH
- name: Install plantuml
run: sudo apt-get install plantuml
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Install mdbook-plantuml
- name: Install mdbook-yapp
uses: actions-rs/cargo@v1
with:
command: install
args: mdbook-plantuml
args: mdbook-yapp
- name: Deploy GitHub Pages
run: mdbook build

0 comments on commit 73e73d5

Please sign in to comment.