diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 73b2637c..b8dcbe13 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -56,30 +56,23 @@ jobs: - name: Download Fonts if: steps.cache-fonts-linux.outputs.cache-hit != 'true' run: | - echo "Downloading Noto Font..." - mkdir -p ~/.fonts/opentype/noto - wget -q https://noto-website-2.storage.googleapis.com/pkgs/Noto-unhinted.zip - unzip -q Noto-unhinted.zip -d ~/.fonts/opentype/noto/ - mkdir -p /usr/share/fonts/truetype/noto/ - ln -sf ~/.fonts/opentype/noto/*.[to]tf /usr/share/fonts/truetype/noto/ - echo "Downloading Roboto Mono Font..." - mkdir -p ~/.fonts/opentype/roboto - wget -q https://fonts.google.com/download?family=Roboto%20Mono -O roboto-mono.zip - unzip -q roboto-mono.zip -d ~/.fonts/opentype/roboto/ - mkdir -p /usr/share/fonts/truetype/roboto/ - ln -sf ~/.fonts/opentype/roboto/*.[to]tf /usr/share/fonts/truetype/roboto/ + echo "Downloading xml2rfc-fonts" + mkdir -p ~/.fonts/opentype ~/fonts + wget -q -O fonts.tar.gz https://github.com/ietf-tools/xml2rfc-fonts/archive/refs/tags/3.20.0.tar.gz + tar zxf fonts.tar.gz -C ~/fonts + mv ~/fonts/*/noto/* ~/.fonts/opentype/ + mv ~/fonts/*/roboto_mono/* ~/.fonts/opentype/ + mkdir -p /usr/share/fonts/truetype + ln -sf ~/.fonts/opentype/*.[to]tf /usr/share/fonts/truetype/ echo "Reloading Font Cache..." fc-cache -f -v - name: Link Fonts if: steps.cache-fonts-linux.outputs.cache-hit == 'true' run: | - echo "Linking Noto Font..." - mkdir -p /usr/share/fonts/truetype/noto/ - ln -sf ~/.fonts/opentype/noto/*.[to]tf /usr/share/fonts/truetype/noto/ - echo "Linking Roboto Mono Font..." - mkdir -p /usr/share/fonts/truetype/roboto/ - ln -sf ~/.fonts/opentype/roboto/*.[to]tf /usr/share/fonts/truetype/roboto/ + echo "Linking Fonts..." + mkdir -p /usr/share/fonts/truetype/ + ln -sf ~/.fonts/opentype/*.[to]tf /usr/share/fonts/truetype/ echo "Reloading Font Cache..." fc-cache -f -v