Skip to content

Commit

Permalink
ci: Opt for installing font in SILE container instead of host
Browse files Browse the repository at this point in the history
  • Loading branch information
alerque committed Sep 26, 2024
1 parent 3c4d576 commit 591201c
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/fontship.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -30,11 +28,10 @@ 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 --noconfirm --needed -Sq tex-gyre-fonts && sile documentation/sample.sil"
- name: Fontship package
id: fontship
uses: theleagueof/fontship@v0
Expand Down

0 comments on commit 591201c

Please sign in to comment.