docs(sample): Change comparison to be against an actual Times New Rom… #365
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Fontship | ||
on: [push, pull_request] | ||
jobs: | ||
fontship: | ||
name: Fontship | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- 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 | ||
with: | ||
args: make debug all | ||
- name: FontProof | ||
id: fontproof | ||
uses: sile-typesetter/fontproof@v2 | ||
with: | ||
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 | ||
- name: Fontship package | ||
id: fontship | ||
uses: theleagueof/fontship@v0 | ||
with: | ||
args: make dist | ||
- name: Upload artifacts | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: ${{ steps.fontship.outputs.DISTDIR }} | ||
path: ${{ steps.fontship.outputs.DISTDIR }}.zip | ||
- name: Release | ||
if: startsWith(github.ref, 'refs/tags/v') | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
files: | | ||
${{ steps.fontship.outputs.DISTDIR }}.zip | ||
${{ steps.fontship.outputs.DISTDIR }}.tar.zst | ||
env: | ||
GITHUB_TOKEN: ${{ github.token }} |