Slightly tweak size so it scales better #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: builder | |
permissions: | |
contents: write | |
on: | |
push: | |
branches: | |
- master | |
tags: | |
- 'v*' | |
paths-ignore: | |
- '**/*.md' | |
jobs: | |
build: | |
name: Build and package fonts | |
runs-on: ubuntu-latest | |
container: | |
# ubuntu does not have recent enough fontforge and using the appimage is | |
# pure pain, so i am just using what i tested with | |
image: fedora:38 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: | | |
sudo dnf -y --setop=install_weak_deps=False install just fontforge python3 p7zip git | |
- name: Build and package the fonts | |
run: just package | |
- name: Release Dev Build | |
uses: softprops/action-gh-release@v1 | |
with: | |
name: Dev Build | |
tag_name: DEV | |
fail_on_unmatched_files: true | |
prerelease: true | |
body: "Latest dev build" | |
files: | # NOTE: files have to be overriden otherwise they will stay outdated so no version in name | |
CompacityFonts.zip | |
- name: Release Tagged Build | |
uses: softprops/action-gh-release@v1 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
fail_on_unmatched_files: true | |
files: | | |
*.zip |