mirror of
https://github.com/be5invis/Iosevka.git
synced 2026-10-27 16:08:38 +00:00
55 lines
1.4 KiB
YAML
55 lines
1.4 KiB
YAML
name: "Dev Daily Build"
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
reason:
|
|
description: "Reason for running manually"
|
|
required: false
|
|
default: "Manual check"
|
|
schedule:
|
|
- cron: "0 0 * * *"
|
|
|
|
jobs:
|
|
build:
|
|
name: Build ${{ matrix.fontName }} font
|
|
if: github.repository == 'be5invis/Iosevka'
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
fontName: ["Iosevka", "IosevkaSlab", "IosevkaAile", "IosevkaEtoile"]
|
|
|
|
steps:
|
|
# Checkout repository into `iosevka` sub directory
|
|
- uses: actions/checkout@v6
|
|
with:
|
|
path: iosevka
|
|
ref: dev
|
|
|
|
- name: Use Node.js
|
|
uses: actions/setup-node@v6
|
|
with:
|
|
node-version: lts/*
|
|
cache: npm
|
|
cache-dependency-path: iosevka/package-lock.json
|
|
|
|
- name: Install ttfautohint
|
|
shell: bash
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get install -y --no-install-recommends ttfautohint
|
|
|
|
- name: Build Font ${{ matrix.fontName }}
|
|
shell: bash
|
|
working-directory: iosevka
|
|
run: |
|
|
npm install
|
|
npm run build -- ttc::${{ matrix.fontName }}
|
|
|
|
- name: Upload Font Artifacts
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: ttc-${{ matrix.fontName }}
|
|
path: iosevka/dist/.ttc/${{ matrix.fontName }}/
|