From 06a59cfc7969a6c5eb596228aa48791e95c6d5b4 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 | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/fontship.yml b/.github/workflows/fontship.yml index 197d80c6..432e5d24 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,9 @@ jobs: args: documentation/waterfalls.sil -o documentation/waterfalls.pdf - 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: + args: --version; pacman --noconfirm -Sq tex-gyre-fonts; sile documentation/sample.sil - name: Fontship package id: fontship uses: theleagueof/fontship@v0