-
Notifications
You must be signed in to change notification settings - Fork 1
45 lines (35 loc) · 1.04 KB
/
google.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
name: google
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
jobs:
prepare:
uses: metanorma/ci/.github/workflows/prepare-rake.yml@main
import:
runs-on: ubuntu-latest
needs: prepare
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ needs.prepare.outputs.default-ruby-version }}
bundler-cache: true
- name: Install otfinfo
run: |
sudo apt-get update
sudo apt-get install lcdf-typetools
- name: Cache Google repo
uses: actions/cache@v3
with:
path: "~/.fontist/google/fonts"
key: key2
- name: Setup fontist config
run: bundle exec fontist config set read_timeout 60
- name: Import new fonts
run: bundle exec fontist import google --formulas_path Formulas -n 100 -v
- uses: EndBug/add-and-commit@v7
with:
add: Formulas/google
default_author: github_actions
message: 'Update formulas for Google Fonts'