Skip to content

Commit

Permalink
ci: Use rust action instead of using curl
Browse files Browse the repository at this point in the history
  • Loading branch information
iamsergio authored and Sergio Martins committed Jan 9, 2025
1 parent 899494a commit 549b5e8
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/mdbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,15 @@ jobs:
env:
MDBOOK_VERSION: 0.4.21
steps:
- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
profile: minimal
- uses: actions/checkout@v4
- name: Install mdBook
run: |
curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf -y | sh
rustup update
cargo install --version ${MDBOOK_VERSION} mdbook
- name: Setup Pages
id: pages
Expand Down

0 comments on commit 549b5e8

Please sign in to comment.