Skip to content

Commit c62c90c

Browse files
committed
docs: update free_fonts
1 parent 4818c69 commit c62c90c

2 files changed

Lines changed: 176 additions & 60 deletions

File tree

.github/workflows/compile_latex_and_upload_pdf.yml

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -59,18 +59,27 @@ jobs:
5959
cls_file_is_in_project_dir: false
6060
access_token: ${{ secrets.ACCESS_TOKEN }}
6161

62-
# - name: Compile free_fonts
63-
# if: ${{ (steps.filter.outputs.free_fonts == 'true') || (steps.filter.outputs.public_resources == 'true') }}
64-
# uses: Mister-Kin/actions/compile-latex-and-upload-pdf@main
65-
# with:
66-
# latex_project_dir: articles/free_fonts
67-
# cls_file_is_in_project_dir: false
68-
# access_token: ${{ secrets.ACCESS_TOKEN }}
69-
7062
- name: Compile toggle_language
7163
if: ${{ (steps.filter.outputs.toggle_language == 'true') || (steps.filter.outputs.public_resources == 'true') }}
7264
uses: Mister-Kin/actions/compile-latex-and-upload-pdf@main
7365
with:
7466
latex_project_dir: manuals/toggle_language
7567
cls_file_is_in_project_dir: false
7668
access_token: ${{ secrets.ACCESS_TOKEN }}
69+
70+
- name: Install fonts for compiling free_fonts
71+
if: ${{ (steps.filter.outputs.free_fonts == 'true') || (steps.filter.outputs.public_resources == 'true') }}
72+
uses: Mister-Kin/actions/install-fonts@main
73+
with:
74+
font_name: |
75+
AlibabaPuHuiTi3.0
76+
shetumodengxiaofangti
77+
FreeHKKai4700
78+
79+
- name: Compile free_fonts
80+
if: ${{ (steps.filter.outputs.free_fonts == 'true') || (steps.filter.outputs.public_resources == 'true') }}
81+
uses: Mister-Kin/actions/compile-latex-and-upload-pdf@main
82+
with:
83+
latex_project_dir: articles/free_fonts
84+
cls_file_is_in_project_dir: false
85+
access_token: ${{ secrets.ACCESS_TOKEN }}

0 commit comments

Comments
 (0)