Skip to content

Commit 26a22df

Browse files
committed
Try to fix action to use Mulish font
1 parent ad0ef27 commit 26a22df

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,17 @@ jobs:
66
steps:
77
- name: Set up Git repository
88
uses: actions/checkout@v4
9+
- name: Install Mulish font
10+
run: |
11+
mkdir -p ~/.local/share/fonts
12+
curl -L -o /tmp/mulish.zip https://github.com/google/fonts/raw/main/ofl/mulish/Mulish%5Bwght%5D.ttf
13+
cp /tmp/mulish.zip ~/.local/share/fonts/Mulish.ttf
14+
fc-cache -fv
915
- name: Compile slide
1016
uses: xu-cheng/latex-action@v2
1117
with:
18+
extra_fonts: |
19+
./path/to/custom.ttf
1220
root_file: slides.tex
1321
latexmk_use_lualatex: true
1422
- name: Upload slides PDF file

0 commit comments

Comments
 (0)