From b9050ad67897c23476a1503a796ad3cec7250cbc Mon Sep 17 00:00:00 2001 From: KaiserY Date: Sun, 10 Mar 2024 21:00:07 +0800 Subject: [PATCH] update workflows --- .github/workflows/main.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b28a553..5dbb115 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -22,14 +22,11 @@ jobs: rustup set profile minimal rustup toolchain install 1.74.1 -c rust-docs rustup default 1.74.1 - - name: Install mdbook + - name: Install mdbook & mdbook-typst-pdf run: | 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 - echo "$(pwd)/bin" >> ${GITHUB_PATH} - - name: Install mdbook-typst-pdf - run: | - curl -sSL https://github.com/KaiserY/mdbook-typst-pdf/releases/download/v0.3.1/mdbook-typst-pdf-x86_64-unknown-linux-musl.tar.xz | tar -xf --directory=bin + curl -sSL https://github.com/KaiserY/mdbook-typst-pdf/releases/download/v0.3.1/mdbook-typst-pdf-x86_64-unknown-linux-musl.tar.xz | tar -xJ --directory=bin --strip-components 1 echo "$(pwd)/bin" >> ${GITHUB_PATH} - name: Install font run: |