Skip to content

Commit

Permalink
feat(typst): remove fonts file and download them from original repo
Browse files Browse the repository at this point in the history
  • Loading branch information
HeRaNO committed Jan 11, 2025
1 parent 6c472b8 commit 5f7c1a9
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 95 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/auto-release-typst.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,12 @@ jobs:
mkdir .fonts
curl -L $(gh api /repos/lxgw/LxgwWenKai/releases/latest -q '.assets[].browser_download_url | select(contains("tar.gz"))') | tar xfz - -C .fonts
cp -r oi-wiki-export-typst/fonts/* .fonts
git clone --filter=blob:none --no-checkout --depth 1 --sparse https://github.com/google/fonts.git
cd fonts
git sparse-checkout add ofl/crimsontext
git checkout
cd ..
cp -r fonts/* .fonts
git clone https://github.com/OI-wiki/OI-wiki.git --depth=1 --single-branch -b master
cd remark-typst
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/test-build-typst.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,12 @@ jobs:
mkdir .fonts
curl -L $(gh api /repos/lxgw/LxgwWenKai/releases/latest -q '.assets[].browser_download_url | select(contains("tar.gz"))') | tar xfz - -C .fonts
cp -r oi-wiki-export-typst/fonts/* .fonts
git clone --filter=blob:none --no-checkout --depth 1 --sparse https://github.com/google/fonts.git
cd fonts
git sparse-checkout add ofl/crimsontext
git checkout
cd ..
cp -r fonts/* .fonts
git clone https://github.com/OI-wiki/OI-wiki.git --depth=1 --single-branch -b master
cd remark-typst
Expand Down
Binary file removed oi-wiki-export-typst/fonts/CrimsonText-Bold.ttf
Binary file not shown.
Binary file not shown.
Binary file removed oi-wiki-export-typst/fonts/CrimsonText-Italic.ttf
Binary file not shown.
Binary file removed oi-wiki-export-typst/fonts/CrimsonText-Regular.ttf
Binary file not shown.
Binary file removed oi-wiki-export-typst/fonts/CrimsonText-SemiBold.ttf
Binary file not shown.
Binary file not shown.
93 changes: 0 additions & 93 deletions oi-wiki-export-typst/fonts/OFL.txt

This file was deleted.

0 comments on commit 5f7c1a9

Please sign in to comment.