Skip to content

rework directory layout; improve ci #6

rework directory layout; improve ci

rework directory layout; improve ci #6

Workflow file for this run

on:
workflow_dispatch:
push:
tags: ["v*", "test*"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
with:
logger: pretty
extra-conf: |
extra-experimental-features = nix-command flakes
- name: Install Magic Nix Cache
uses: DeterminateSystems/magic-nix-cache-action@main
- name: Checkout
uses: actions/checkout@v4
- name: Build
run: |
#!/usr/bin/env bash
set -eux
# Build only the Mono Nerd variant for now. Rest can be handled with
# a matrix in the future.
nix build .#ioshelfka-mono-nerd --print-build-logs || exit 1
# Contains built fonts and a NerdFonts directory for *patched* fonts.
# Upload both of them, Nix might be able to resolve fonts from the
# unpacked archive.
zip -vr9 IoshelfkaMonoNerd.zip ./result/share/fonts/truetype
- name: Release
uses: ncipollo/release-action@v1
with:
omitBody: true
omitName: true
allowUpdates: true
artifacts: "IoshelfkaMonoNerd.zip"