Skip to content

Commit 06a59cf

Browse files
committed
ci: Opt for installing font in SILE container instead of host
1 parent cd3650c commit 06a59cf

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.github/workflows/fontship.yml

+3-7
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ jobs:
1616
- name: Fetch tags
1717
run: |
1818
git fetch --prune --tags ||:
19-
- name: Setup prerequisites
20-
run: sudo apt-get -qq install fonts-texgyre
2119
- name: Fontship make
2220
uses: theleagueof/fontship@v0
2321
# Work around fontship v0.10.0 an below trying to force install-dist on first pass
@@ -30,11 +28,9 @@ jobs:
3028
args: documentation/waterfalls.sil -o documentation/waterfalls.pdf
3129
- name: SILE
3230
id: sile
33-
run: |
34-
docker run -t -v "/usr/share/texmf/fonts/opentype/public/tex-gyre/:/fonts" ghcr.io/sile-typesetter/sile:v0 -- documentation/sample.sil
35-
# uses: sile-typesetter/sile@v0
36-
# with:
37-
# args: documentation/sample.sil
31+
uses: sile-typesetter/sile@v0
32+
with:
33+
args: --version; pacman --noconfirm -Sq tex-gyre-fonts; sile documentation/sample.sil
3834
- name: Fontship package
3935
id: fontship
4036
uses: theleagueof/fontship@v0

0 commit comments

Comments
 (0)