File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -182,17 +182,10 @@ jobs:
182
182
rm -rf "typst-x86_64-unknown-linux-musl" "typst-x86_64-unknown-linux-musl.tar.xz"
183
183
typst --version
184
184
185
- - name : Install Fira Sans font
185
+ - name : Download Fira Sans font
186
186
run : |
187
- # Download and install Fira Sans
188
187
wget -q "https://github.com/mozilla/Fira/archive/4.202.zip"
189
188
unzip -q "4.202.zip"
190
- sudo mkdir -p /usr/local/share/fonts/fira-sans
191
- sudo cp Fira-4.202/otf/FiraSans-*.otf /usr/local/share/fonts/fira-sans/
192
- sudo fc-cache -f -v
193
- rm -rf "4.202.zip" "Fira-4.202"
194
- # Verify font is available
195
- fc-list | grep -i "fira sans" || echo "Fira Sans not found"
196
189
197
190
- uses : Swatinem/rust-cache@98c8021b550208e191a6a3145459bfc9fb29c4c0 # v2.8.0
198
191
with :
@@ -205,6 +198,10 @@ jobs:
205
198
206
199
- run : cargo build --tests --workspace
207
200
- run : cargo test --workspace
201
+ env :
202
+ # Set the path to the Fira Sans font for Typst.
203
+ # The path is relative to the `crates_io_og_image` crate root.
204
+ TYPST_FONT_PATH : ../../Fira-4.202/otf
208
205
209
206
frontend-lint :
210
207
name : Frontend / Lint
You can’t perform that action at this time.
0 commit comments