-
Notifications
You must be signed in to change notification settings - Fork 1
43 lines (43 loc) · 968 Bytes
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
---
name: build
on:
push:
branches: [main]
paths:
- bited-build.toml
- src/**
- flake.nix
- flake.lock
- default.nix
- .github/workflows/build.yml
pull_request:
branches: [main]
paths:
- bited-build.toml
- src/**
- flake.nix
- flake.lock
- default.nix
- .github/workflows/build.yml
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
ref: main
persist-credentials: false
fetch-depth: 0
- uses: nixbuild/nix-quick-install-action@v29
- uses: DeterminateSystems/magic-nix-cache-action@main
- run: nix build .#kirsch
- name: artifacts
uses: actions/upload-artifact@v4
with:
name: kirsch
path: result/share/fonts