-
-
Notifications
You must be signed in to change notification settings - Fork 59
53 lines (49 loc) · 1.45 KB
/
fontship.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
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: 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
uses: sile-typesetter/sile@v0
pre-entrypoint: pacman --noconfirm -Sy tex-gyre-fonts
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 }}