From 9aa924118ba7321639a2137eed417586062be51d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20H=2E=20Benedetti?= Date: Fri, 9 Aug 2024 15:37:57 +0200 Subject: [PATCH] added "ubuntu" font to workflow --- .github/workflows/on-release.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/on-release.yml b/.github/workflows/on-release.yml index 69c7e05..9acb8d3 100644 --- a/.github/workflows/on-release.yml +++ b/.github/workflows/on-release.yml @@ -12,6 +12,16 @@ jobs: - name: Checkout code uses: actions/checkout@v3 + - name: Download and install Ubuntu font + run: | + sudo apt-get install -y fontconfig + wget https://assets.ubuntu.com/v1/0cef8205-ubuntu-font-family-0.83.zip + unzip 0cef8205-ubuntu-font-family-0.83.zip -d ubuntu-font + sudo mkdir -p /usr/share/fonts/truetype/ubuntu + sudo cp ubuntu-font/*.ttf /usr/share/fonts/truetype/ubuntu/ + sudo fc-cache -fv + shell: bash + - name: Install LibreOffice run: sudo apt-get update && sudo apt-get install -y libreoffice