mirror of
https://github.com/ryanoasis/nerd-fonts.git
synced 2026-09-10 07:36:35 -04:00
Fix: Flatten directories
After #2054 the workflow has not been updated and tried to get the fonts from the old locations. Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
This commit is contained in:
parent
48e1a64620
commit
5354bf70a6
8
.github/workflows/font-patcher.yml
vendored
8
.github/workflows/font-patcher.yml
vendored
|
|
@ -72,7 +72,7 @@ jobs:
|
||||||
- name: Patcher typical test run
|
- name: Patcher typical test run
|
||||||
run: |
|
run: |
|
||||||
mkdir -p $GITHUB_WORKSPACE/temp/
|
mkdir -p $GITHUB_WORKSPACE/temp/
|
||||||
fontforge --script ./font-patcher src/unpatched-fonts/Hack/Regular/Hack-Regular.ttf \
|
fontforge --script ./font-patcher src/unpatched-fonts/Hack/Hack-Regular.ttf \
|
||||||
--complete --quiet --no-progressbars --outputdir $GITHUB_WORKSPACE/temp/ \
|
--complete --quiet --no-progressbars --outputdir $GITHUB_WORKSPACE/temp/ \
|
||||||
--experimental check-glyph-count
|
--experimental check-glyph-count
|
||||||
|
|
||||||
|
|
@ -97,7 +97,7 @@ jobs:
|
||||||
- name: Spot check font properties
|
- name: Spot check font properties
|
||||||
run: |
|
run: |
|
||||||
${{ env.SHOWTTF }} -c "$GITHUB_WORKSPACE/temp/HackNerdFont-Regular.ttf" | grep -q 'File Checksum.*diff=0\s*$' && echo "TTF checksum ok" || exit 1
|
${{ env.SHOWTTF }} -c "$GITHUB_WORKSPACE/temp/HackNerdFont-Regular.ttf" | grep -q 'File Checksum.*diff=0\s*$' && echo "TTF checksum ok" || exit 1
|
||||||
ORIG_MINPPEM=$(${{ env.SHOWTTF }} -c "src/unpatched-fonts/Hack/Regular/Hack-Regular.ttf" | grep 'lowestppem=' )
|
ORIG_MINPPEM=$(${{ env.SHOWTTF }} -c "src/unpatched-fonts/Hack/Hack-Regular.ttf" | grep 'lowestppem=' )
|
||||||
PATCH_MINPPEM=$(${{ env.SHOWTTF }} -c "$GITHUB_WORKSPACE/temp/HackNerdFont-Regular.ttf" | grep 'lowestppem=' )
|
PATCH_MINPPEM=$(${{ env.SHOWTTF }} -c "$GITHUB_WORKSPACE/temp/HackNerdFont-Regular.ttf" | grep 'lowestppem=' )
|
||||||
echo "${ORIG_MINPPEM} == ${PATCH_MINPPEM}"
|
echo "${ORIG_MINPPEM} == ${PATCH_MINPPEM}"
|
||||||
[[ ${ORIG_MINPPEM} == ${PATCH_MINPPEM} ]] && echo "lowestRecPPEM matches" || exit 1
|
[[ ${ORIG_MINPPEM} == ${PATCH_MINPPEM} ]] && echo "lowestRecPPEM matches" || exit 1
|
||||||
|
|
@ -105,7 +105,7 @@ jobs:
|
||||||
- name: Patcher monospaced
|
- name: Patcher monospaced
|
||||||
run: |
|
run: |
|
||||||
mkdir -p $GITHUB_WORKSPACE/temp/
|
mkdir -p $GITHUB_WORKSPACE/temp/
|
||||||
fontforge --script ./font-patcher src/unpatched-fonts/Hack/Regular/Hack-Regular.ttf \
|
fontforge --script ./font-patcher src/unpatched-fonts/Hack/Hack-Regular.ttf \
|
||||||
--complete --mono --quiet --no-progressbars --outputdir $GITHUB_WORKSPACE/temp/
|
--complete --mono --quiet --no-progressbars --outputdir $GITHUB_WORKSPACE/temp/
|
||||||
|
|
||||||
- name: Check if patched font generated
|
- name: Check if patched font generated
|
||||||
|
|
@ -125,6 +125,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 src/unpatched-fonts/UbuntuMono/Regular/UbuntuMono-R.ttf \
|
fontforge --script ./font-patcher src/unpatched-fonts/UbuntuMono/UbuntuMono-R.ttf \
|
||||||
--quiet --no-progressbars --outputdir $GITHUB_WORKSPACE/temp/
|
--quiet --no-progressbars --outputdir $GITHUB_WORKSPACE/temp/
|
||||||
[ -e "$GITHUB_WORKSPACE/temp/UbuntuMonoNerdFont-Regular.ttf" ] && echo "File exists" || exit 1
|
[ -e "$GITHUB_WORKSPACE/temp/UbuntuMonoNerdFont-Regular.ttf" ] && echo "File exists" || exit 1
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue