update workflow

This commit is contained in:
KaiserY 2024-10-22 01:24:37 +08:00
parent accd8b6537
commit a412b6f20c

View File

@ -25,8 +25,8 @@ jobs:
- name: Install mdbook & mdbook-typst-pdf - name: Install mdbook & mdbook-typst-pdf
run: | run: |
mkdir bin mkdir bin
curl -sSL https://github.com/rust-lang/mdBook/releases/download/v0.4.36/mdbook-v0.4.36-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=bin curl -sSL https://github.com/rust-lang/mdBook/releases/download/v0.4.40/mdbook-v0.4.40-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=bin
curl -sSL https://github.com/KaiserY/mdbook-typst-pdf/releases/download/v0.3.4/mdbook-typst-pdf-x86_64-unknown-linux-musl.tar.xz | tar -xJ --directory=bin --strip-components 1 curl -sSL https://github.com/KaiserY/mdbook-typst-pdf/releases/download/v0.5.1/mdbook-typst-pdf-x86_64-unknown-linux-musl.tar.xz | tar -xJ --directory=bin --strip-components 1
echo "$(pwd)/bin" >> ${GITHUB_PATH} echo "$(pwd)/bin" >> ${GITHUB_PATH}
- name: Install font - name: Install font
run: | run: |