Skip to content

Commit

Permalink
Update GitHub workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
dmlls committed Apr 20, 2024
1 parent 02561ad commit 3480cdf
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,28 +6,37 @@ on:
pull_request:
branches: [ main ]

env:
PYTHON_VERSION: "3.10"

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
- name: Checkout
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: ${{ env.PYTHON_VERSION }}

- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install --yes zopfli pngquant
python -m pip install --upgrade pip
python -m pip install -r https://raw.githubusercontent.com/dmlls/whatsapp-emoji-linux/main/requirements.txt
python -m pip install -r requirements.txt
- name: Build WhatsAppEmoji
run: |
make -j
make install
- name: Upload .ttf file
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: WhatsAppEmoji
path: build/WhatsAppEmoji.ttf

0 comments on commit 3480cdf

Please sign in to comment.