-
Notifications
You must be signed in to change notification settings - Fork 0
51 lines (44 loc) · 1.26 KB
/
builder.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
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