Skip to content

Commit 95a8969

Browse files
committed
fix(ci): download missing cascadia font
1 parent bce8f4e commit 95a8969

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/make-report.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ jobs:
1818
- name: Build the LaTeX document
1919
uses: xu-cheng/latex-action@v2
2020
with:
21+
pre_compile: |
22+
wget -q -O cascadia.zip "https://github.com/microsoft/cascadia-code/releases/download/v2111.01/CascadiaCode-2111.01.zip"
23+
unzip -q cascadia.zip -d cascadia
24+
cp -r cascadia/otf/static/*.otf /usr/share/fonts
25+
fc-cache
2126
latexmk_use_xelatex: true
2227
latexmk_shell_escape: true
2328
args: "-pdf -file-line-error -halt-on-error -interaction=nonstopmode -8bit"
@@ -52,5 +57,5 @@ jobs:
5257
with:
5358
upload_url: ${{ steps.create_release.outputs.upload_url }}
5459
asset_path: ./report/report.pdf
55-
asset_name: report.ppdf
60+
asset_name: report.pdf
5661
asset_content_type: application/pdf

0 commit comments

Comments
 (0)