1
0

Build fonts with fntbld-oci

This commit is contained in:
2026-03-14 12:40:06 +01:00
parent f5aac0701f
commit 5fc4d9b8d8

44
.github/workflows/build.yml vendored Normal file
View File

@@ -0,0 +1,44 @@
name: Build fonts
on:
push:
branches: [main]
tags: ["*"]
jobs:
build:
runs-on: ubuntu-latest
container:
image: ghcr.io/nicoverbruggen/fntbld-oci:latest
steps:
- uses: actions/checkout@v4
- name: Build fonts
run: python3 build.py
- name: Zip TTFs
run: cd out/ttf && zip -j ../../Readerly.zip *.ttf
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: Readerly
path: Readerly.zip
release:
needs: build
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/download-artifact@v4
with:
name: Readerly
- name: Create release
uses: softprops/action-gh-release@v2
with:
files: Readerly.zip