CI: Fix: Add font with references

[why]
The font is not available on the Github Workflow VM.

[how]
But we have it in the repo anyhow...

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
This commit is contained in:
Fini Jastrow 2023-03-10 11:25:55 +01:00
parent bbb81d285a
commit 3dde174ca5

View file

@ -126,6 +126,6 @@ jobs:
- name: Check if font with references is patched - name: Check if font with references is patched
# (patch result not checked) # (patch result not checked)
run: | run: |
fontforge --script ./font-patcher /usr/share/fonts/truetype/ubuntu/UbuntuMono-R.ttf \ fontforge --script ./font-patcher src/unpatched-fonts/UbuntuMono/Regular/UbuntuMono-R.ttf \
--quiet --no-progressbars --outputdir $GITHUB_WORKSPACE/temp/ --quiet --no-progressbars --outputdir $GITHUB_WORKSPACE/temp/
[ -e "$GITHUB_WORKSPACE/temp/Ubuntu Mono Nerd Font.ttf" ] && echo "File exists" || exit 1 [ -e "$GITHUB_WORKSPACE/temp/Ubuntu Mono Nerd Font.ttf" ] && echo "File exists" || exit 1