-
Notifications
You must be signed in to change notification settings - Fork 2
61 lines (49 loc) · 1.43 KB
/
macos.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
54
55
56
57
58
59
60
61
name: macos
on:
push:
branches:
- master
pull_request:
concurrency:
group: '${{ github.workflow }}-${{ github.job }}-${{ github.head_ref || github.ref_name }}'
cancel-in-progress: true
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- run: make update-init update-modules
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
bundler-cache: true
- uses: actions/cache@v2
with:
path: ~/.fontist
key: fontist-macos
restore-keys: fontist-macos
- name: Install Fontist fonts
run: |
gem install fontist
fontist update
fontist manifest-install --confirm-license fonts/manifest.yml
fontist manifest-locations fonts/manifest.yml > fonts/manifest.paths.yml
cat fonts/manifest.paths.yml
# cabextract for fonts, gettext-base for envsubst
- name: Setup prerequisites
run: |
# Install `envsubst`
brew install gettext
brew link --force gettext
# Install cabextract
# brew install cabextract
# Install yq
brew install yq
- run: make all published
env:
GITHUB_USERNAME: ${{ github.actor }}
GITHUB_TOKEN: ${{ github.token }}
- uses: actions/upload-artifact@master
with:
name: published-macos
path: published