Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
vladimirnikolic1 authored Jul 29, 2024
1 parent 5a79e54 commit 0bdd91f
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions .github/workflows/build-fonts.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Build Fonts

on:
push:
branches:
- master
paths:
- sources/**
pull_request:
branches:
- master
paths:
- sources/**

jobs:
static-font-ci-job:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ 3.8 ]
name: Build Fonts
steps:
- name: Check out JetBrains Mono source repository
uses: actions/checkout@v3
- name: Set up Python v${{ matrix.python-version }} environment
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Python build dependency cache lookup
uses: actions/cache@v3
with:
path: ~/.cache/pip
# Check for requirements file cache hit
key: ${{ runner.os }}-pip-${{ hashFiles('${{ steps.config.outputs.dependpath }}') }}
- name: Install Python build dependencies
uses: py-actions/py-dependency-install@v3
with:
update-wheel: "true"
update-setuptools: "true"
- name: Build fonts
run: |
gftools builder sources/config.yaml
python scripts/generate_variable_webfonts.py
- name: Upload Fonts
uses: actions/upload-artifact@v3
with:
name: Fonts
path: fonts/

0 comments on commit 0bdd91f

Please sign in to comment.