mirror of
https://github.com/slavfox/Cozette.git
synced 2026-03-11 08:54:33 +00:00
37 lines
1 KiB
YAML
37 lines
1 KiB
YAML
name: Build fonts
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- '*'
|
|
|
|
jobs:
|
|
build:
|
|
name: Make release
|
|
runs-on: ubuntu-latest
|
|
container:
|
|
image: archlinux/archlinux:latest
|
|
steps:
|
|
- name: Update packages
|
|
run: |
|
|
pacman -Syyu --noconfirm
|
|
- name: Install dependencies
|
|
run: |
|
|
pacman -S --noconfirm base git tar which zip libffi
|
|
- name: Install python
|
|
run: |
|
|
pacman -S --noconfirm python python-pipenv python-setuptools
|
|
- name: Install fontforge
|
|
run: pacman -S --noconfirm fontforge
|
|
- uses: actions/checkout@v2
|
|
- name: Build fonts
|
|
run: |
|
|
pipenv --python /bin/python install; pipenv run python build.py fonts
|
|
- name: Zip fonts
|
|
run: |
|
|
mv build CozetteFonts; cp ./LICENSE CozetteFonts/LICENSE; 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)"
|