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