Cozette/.github/workflows/main.yml
2020-04-23 21:34:34 +02:00

31 lines
844 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 which python python-pipenv zip libffi
- name: Install fontforge
run: pacman -S --noconfirm fontforge
- uses: actions/checkout@v2
- name: Build fonts
run: |
pipenv install; pipenv run python build.py fonts
- name: Zip fonts
run: |
mv build CozetteFonts; zip -r CozetteFonts.zip CozetteFonts
- uses: ncipollo/release-action@v1
with:
artifacts: "CozetteFonts.zip,CozetteFonts/*"
token: ${{ secrets.GITHUB_TOKEN }}
body: "See [CHANGELOG.md](https://github.com/slavfox/Cozette/blob/master/CHANGELOG.md)"