mirror of
https://github.com/atelier-anchor/smiley-sans.git
synced 2025-01-07 03:06:46 +08:00
add github workflow
This commit is contained in:
parent
d4227ad567
commit
b426c31aae
24
.github/workflows/main.yml
vendored
Normal file
24
.github/workflows/main.yml
vendored
Normal file
@ -0,0 +1,24 @@
|
||||
name: build
|
||||
on: push
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
name: Build Smiley Sans
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '3.10'
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install -U pip
|
||||
pip install -r requirements.txt
|
||||
- name: Build fonts
|
||||
run: source build.sh
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: smiley-sans
|
||||
path: |
|
||||
build/*.otf
|
||||
build/*.ttf
|
||||
build/*.woff2
|
3
requirements.txt
Normal file
3
requirements.txt
Normal file
@ -0,0 +1,3 @@
|
||||
brotli
|
||||
fontmake
|
||||
fonttools
|
Loading…
Reference in New Issue
Block a user