forked from be5invis/Iosevka
-
Notifications
You must be signed in to change notification settings - Fork 0
54 lines (52 loc) · 1.57 KB
/
build.yml
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
52
53
54
name: build
on:
push:
workflow_dispatch:
jobs:
# download-private-build-plans:
# runs-on: ubuntu-latest
# steps:
# - name: do the things
# run: |
# mkdir build
# cd build
# curl -LO https://raw.githubusercontent.com/b-/Iosevka/dev/private-build-plans.toml
build-job:
# needs: download-private-build-plans
runs-on: ubuntu-latest
# container:
# options: --privileged
# image: avivace/iosevka-build
# volumes:
# - build:/build
steps:
- name: Checkout
uses: actions/[email protected]
- uses: actions/setup-node@v3
with:
node-version: lts/*
- name: Make build dir
run: mkdir build
# - name: Download private-build-plans.toml
# run: curl -LO https://raw.githubusercontent.com/b-/Iosevka/dev/private-build-plans.toml
#- uses: avivace/iosevka-build@latest
- run: sudo apt-get install -y python3-fontforge ttfautohint
- run: npm install
# - uses: mxschmitt/action-tmate@v3
- run: npm run build -- ttf::briosk
- run: tar -zcvf fonts.tgz dist
- name: Release
uses: softprops/action-gh-release@v1
with:
tag_name: briosk
files: fonts.tgz
- uses: actions/github-script@v6
with:
github-token: ${{ secrets.PAT_TOKEN }}
script: |
await github.rest.actions.createWorkflowDispatch({
owner: 'b-',
repo: 'nf-patcher',
workflow_id: 'patch.yaml',
ref: 'briosk-nf'
})