Skip to content

Commit e824848

Browse files
committed
ci(deploy-docs): install mdbook with install-action
1 parent 3fc52e9 commit e824848

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/deploy-docs.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,9 @@ jobs:
2121
with:
2222
fetch-depth: 0
2323
- name: Install mdbook
24-
run: |
25-
mkdir mdbook
26-
curl -Lf https://github.com/rust-lang/mdBook/releases/download/v0.4.37/mdbook-v0.4.37-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=./mdbook
27-
echo "`pwd`/mdbook" >> $GITHUB_PATH
24+
uses: taiki-e/install-action@v2
25+
with:
26+
tool: mdbook
2827
- name: Build book
2928
run: |
3029
# Build for stable

0 commit comments

Comments
 (0)