Skip to content

Add emoji fonts by AmberW #6

Add emoji fonts by AmberW

Add emoji fonts by AmberW #6

Workflow file for this run

name: Build Emojis
on:
push:
branches: [ main ]
paths:
- 'src/emoji18/**'
- 'src/emoji24/**'
- 'scripts/**'
- '.github/workflows/build-emojis.yml'
pull_request:
branches: [ main ]
paths:
- 'src/emoji18/**'
- 'src/emoji24/**'
- 'scripts/**'
- '.github/workflows/build-emojis.yml'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: 'pip'
cache-dependency-path: 'scripts/requirements.txt'
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install -r scripts/requirements.txt
- name: Build All Assets
run: python scripts/build.py
- name: Verify binaries are up to date
run: git diff --exit-code build/EMOJI18.pbf build/EMOJI24.pbf
- name: Upload Compiled Emojis
uses: actions/upload-artifact@v4
with:
name: compiled-emojis
path: |
build/EMOJI18.pbf
build/EMOJI24.pbf