Skip to content

Commit fd69419

Browse files
committed
install msfonts
1 parent 38057e1 commit fd69419

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

.github/workflows/generate_release_pdf.yml

+13-8
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,16 @@ jobs:
2222
- name: Set up Git repository
2323
uses: actions/checkout@v4
2424

25+
- name: Prepare Mkdocs environment
26+
run: |
27+
pip install mkdocs
28+
pip install mkdocs-print-site-plugin
29+
pip install mkdocs-macros-plugin
30+
31+
- name: Compile Mkdocs document
32+
run: |
33+
mkdocs build
34+
2535
- name: Cache Fonts
2636
uses: actions/cache@v4
2737
id: cache-fonts
@@ -60,15 +70,10 @@ jobs:
6070
curl -L "https://github.com/lxgw/LxgwWenKai/releases/download/v1.330/LXGWWenKai-$form.ttf" -o "${{ env.TYPST_FONT_PATH }}/LXGWWenKai-$form.ttf"
6171
done
6272
63-
- name: Prepare Mkdocs environment
73+
- name: Install Fonts
6474
run: |
65-
pip install mkdocs
66-
pip install mkdocs-print-site-plugin
67-
pip install mkdocs-macros-plugin
68-
69-
- name: Compile Mkdocs document
70-
run: |
71-
mkdocs build
75+
apt-get install -yq --allow-unauthenticated ttf-mscorefonts-installer
76+
apt-get install -yyq fonts-liberation
7277
7378
- name: Prepare Puppeteer environment
7479
run: |

0 commit comments

Comments
 (0)