From eb2b36168d2c7682565595c984ffd9c3b6f831dd Mon Sep 17 00:00:00 2001 From: Caleb Maclennan Date: Fri, 27 Sep 2024 00:18:11 +0300 Subject: [PATCH] ci: Opt for installing font in SILE container instead of host --- .github/workflows/fontship.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/fontship.yml b/.github/workflows/fontship.yml index f7d7c46b..b5916e6a 100644 --- a/.github/workflows/fontship.yml +++ b/.github/workflows/fontship.yml @@ -16,8 +16,6 @@ jobs: - name: Fetch tags run: | git fetch --prune --tags ||: - - name: Setup prerequisites - run: sudo apt-get -qq install fonts-texgyre - name: Fontship make uses: theleagueof/fontship@v0 # Work around fontship v0.10.0 an below trying to force install-dist on first pass @@ -30,11 +28,12 @@ jobs: args: documentation/waterfalls.sil - name: SILE id: sile - run: | - docker run -t -v "/usr/share/texmf/fonts/opentype/public/tex-gyre/:/fonts" ghcr.io/sile-typesetter/sile:v0 -- documentation/sample.sil - # uses: sile-typesetter/sile@v0 - # with: - # args: documentation/sample.sil + uses: sile-typesetter/sile@v0 + with: + entrypoint: bash + args: + - "-c" + - "pacman --needed -Sq tex-gyre-fonts && sile documentation/sample.sil" - name: Fontship package id: fontship uses: theleagueof/fontship@v0