mirror of
https://github.com/slavfox/Cozette.git
synced 2026-03-11 08:54:33 +00:00
34 lines
851 B
YAML
34 lines
851 B
YAML
name: Build fonts
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- '*'
|
|
|
|
jobs:
|
|
build:
|
|
name: Make release
|
|
runs-on: ubuntu-latest
|
|
container:
|
|
image: archlinux/base
|
|
steps:
|
|
- name: Install dependencies
|
|
run: |
|
|
pacman -Sy --noconfirm base git tar
|
|
- uses: actions/checkout@v2
|
|
- name: Install fontforge
|
|
run: pacman -S --noconfirm fontforge
|
|
- name: Build fonts
|
|
run: |
|
|
fontforge -lang ff -c '\
|
|
Open("Cozette8/Cozette8.sfd"); \
|
|
Generate("cozette.", "otb"); \
|
|
Generate("cozette.ttf", "otb"); \
|
|
Generate("cozette.dfont","sbit"); \
|
|
Generate("cozette.","fnt"); \
|
|
Generate("cozette.","bdf"); \
|
|
'
|
|
- uses: ncipollo/release-action@v1
|
|
with:
|
|
artifacts: "*.otb, *.ttf, *.bdf, *.dfont, *.fnt"
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|