Skip to content

google

google #901

Workflow file for this run

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'