Skip to content

Commit

Permalink
ci: list fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
shirok1 committed Feb 26, 2025
1 parent beff84e commit 91fec4c
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/build-templates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,15 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: typst-community/setup-typst@v4
- name: Install Chinese Fonts

- name: Install Chinese (Simplified) Supplemental Fonts
shell: pwsh
run: Add-WindowsCapability -Online -Name "Language.Fonts.Hans~~~und-HANS~0.0.1.0"
- name: Install Chinese (Traditional) Supplemental Fonts
shell: pwsh
run: |
Add-WindowsCapability -Online -Name "Language.Fonts.HanTraditional~~~und-HANT~0.0.1.0"
Add-WindowsCapability -Online -Name "Language.Fonts.HanSimplified~~~und-Hans~0.0.1.0"
run: Add-WindowsCapability -Online -Name "Language.Fonts.Hant~~~und-HANT~0.0.1.0"
- run: typst fonts

- run: python3 ci/mode_switch.py dev templates
- run: python3 ci/build.py
- uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 91fec4c

Please sign in to comment.