Skip to content

install fonts to system #8

install fonts to system

install fonts to system #8

name: Build Subtitles
on:
workflow_dispatch:
push:
branches:
- 'main'
jobs:
Build-CI-Versions:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Python Environment
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install wine64
pip install --user git+https://github.com/TypesettingTools/Myaamori-Aegisub-Scripts/#subdirectory=scripts/sub-digest
pip install requests
winecfg
- name: Install custom fonts
run: |
sudo mv Fonts/* /usr/share/fonts/
fc-cache -fv
- name: Build substitles
run: |
python build.py
- name: Archive artifacts
uses: actions/upload-artifact@v4
with:
name: output-subtitles
path: |
build/output