From 482424c080e3763cfd85da8344714110fd8d45e6 Mon Sep 17 00:00:00 2001 From: Ian Cornelius Date: Mon, 21 Oct 2024 22:28:05 -0500 Subject: [PATCH] update GitHub Action bump Junicode version and use fc-cache --- .github/workflows/action.yaml | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/.github/workflows/action.yaml b/.github/workflows/action.yaml index 0384844..02f6649 100644 --- a/.github/workflows/action.yaml +++ b/.github/workflows/action.yaml @@ -27,22 +27,18 @@ jobs: - name: Download lua-filter run: wget https://raw.githubusercontent.com/pandoc-ext/multibib/main/_extensions/multibib/multibib.lua - - name: Download mainfont - uses: schmiddim/action-wget-unzip@v2 - with: - url: https://github.com/psb1558/Junicode-font/archive/refs/tags/v1.003.zip - destination: . - - - name: Set Path to mainfont - run: sed -i 's/setmainfont \[/&Path, /' config/template.tex + - name: Download and install mainfont + run: | + wget -O Junicode.zip https://github.com/psb1558/Junicode-font/releases/download/v2.209/Junicode_2.209.zip + unzip Junicode.zip + mv Junicode/ /usr/share/fonts + fc-cache -fv - name: Verify dependencies run: | pandoc --version xetex --version ls multibib.lua - grep setmainfont config/template.tex - ls Junicode* - name: Build run: bash build.sh