Skip to content

Commit

Permalink
ci: install Chinese fonts with Add-WindowsCapability
Browse files Browse the repository at this point in the history
  • Loading branch information
shirok1 committed Feb 26, 2025
1 parent 4b1049c commit beff84e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build-templates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: typst-community/setup-typst@v4
- name: Install Chinese 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: python3 ci/mode_switch.py dev templates
- run: python3 ci/build.py
- uses: actions/upload-artifact@v4
Expand Down

0 comments on commit beff84e

Please sign in to comment.