update workflows

This commit is contained in:
KaiserY 2025-03-09 21:52:52 +08:00
parent 85606de664
commit a7d9d1a546

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.40/mdbook-v0.4.40-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=bin curl -sSL https://github.com/rust-lang/mdBook/releases/download/v0.4.46/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.5.1/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.6.0/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: |