forked from moergo-sc/glove80-zmk-config
-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (30 loc) · 857 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
name: Build
on: [push, pull_request, workflow_dispatch]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: actions/checkout@v4
with:
repository: moergo-sc/zmk
ref: main
path: src
- uses: cachix/install-nix-action@v25
with:
nix_path: nixpkgs=channel:nixos-22.05
- uses: cachix/cachix-action@v14
with:
name: moergo-glove80-zmk-dev
skipPush: true
- name: Build Glove80 combined firmware
run: nix-build config -o combined
- name: Copy result out of nix store
run: cp combined/glove80.uf2 glove80.uf2
- name: Upload result
uses: actions/upload-artifact@v4
with:
name: glove80.uf2
path: glove80.uf2