Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Building Font
on:
workflow_dispatch:
jobs:
build:
runs-on: [ubuntu-20.04]
name: Building Custom Ioseveka Font
steps:
- name: Installing Packages
run: |
sudo apt update -y
sudo apt -y install nodejs npm git ttfautohint zip wget
- name: Cloning Ioseveka git repo
run: |
git clone --depth 1 https://github.com/be5invis/Iosevka.git
cd Iosevka/
wget https://raw.githubusercontent.com/m1chaelwilliams/make-windows-pretty/refs/heads/main/private-build-plans.toml
- name: Installing dependencies and building font
run: |
cd Iosevka/
npm i
npm run build -- ttf::IosevkaCustom
- name: Zipping font
run: |
zip IosevekaCustom.zip ./Iosevka/dist/IosevkaCustom/TTF
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.run_number }}
release_name: Release ${{ github.run_number }}
draft: false
prerelease: false
- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./IosevekaCustom.zip
asset_name: IosevekaCustom.zip
asset_content_type: application/zip