This commit is contained in:
KaiserY 2023-12-17 21:46:29 +08:00
parent 02462717dd
commit 5a5c37ce37

View File

@ -29,13 +29,15 @@ jobs:
echo "$(pwd)/bin" >> ${GITHUB_PATH} echo "$(pwd)/bin" >> ${GITHUB_PATH}
- name: Install mdbook-typst-pdf - name: Install mdbook-typst-pdf
run: | run: |
curl -sL -o bin/mdbook-typst-pdf https://github.com/KaiserY/mdbook-typst-pdf/releases/download/0.1.0/mdbook-typst-pdf-x86_64-unknown-linux-gnu curl -sL -o bin/mdbook-typst-pdf https://github.com/KaiserY/mdbook-typst-pdf/releases/download/0.1.1/mdbook-typst-pdf-x86_64-unknown-linux-gnu
chmod +x bin/mdbook-typst-pdf chmod +x bin/mdbook-typst-pdf
echo "$(pwd)/bin" >> ${GITHUB_PATH} echo "$(pwd)/bin" >> ${GITHUB_PATH}
- name: Install font - name: Install font
run: | run: |
echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections
sudo apt-get -y install msttcorefonts sudo apt-get -y install msttcorefonts fonts-arphic-ukai fonts-arphic-uming fonts-ipafont-mincho fonts-ipafont-gothic fonts-unfonts-core
sudo apt-get -y install ttf-wqy*
fc-cache -f -v
- name: Report versions - name: Report versions
run: | run: |
rustup --version rustup --version