Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ffab0ff

Browse files
author
liujinhan
committed
use curl
1 parent f769c38 commit ffab0ff

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,25 @@ jobs:
1515
group: ${{ github.workflow }}-${{ github.ref }}
1616
steps:
1717
- uses: actions/[email protected]
18-
- uses: drmingdrmer/mdbook-full@main
1918

2019
- name: Setup mdBook
2120
uses: peaceiris/[email protected]
2221
with:
2322
mdbook-version: "latest"
2423

2524
# 使用katex,以支持常规的$行内公式$
25+
- name: Install mdbook-katex
26+
run: |
27+
curl -Lo mdbook-katex.tar.gz https://github.com/lzanini/mdbook-katex/releases/download/v0.5.7/mdbook-katex-v0.5.7-x86_64-unknown-linux-gnu.tar.gz
28+
tar xzf mdbook-katex.tar.gz
29+
mv mdbook-katex /home/runner/toolbin/mdbook-katex
30+
2631
# - name: Setup mdbook-katex
2732
# uses: magicgh/[email protected]
28-
# with:
29-
# version: "latest"
33+
# run: |
34+
# curl -L -o mdbook-katex.tar.gz https://github.com/huhu/md
35+
# # with:
36+
# # version: "latest"
3037

3138
- run: mdbook build
3239

0 commit comments

Comments
 (0)