&kp?? #10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- uses: actions/checkout@v3 | |
with: | |
repository: moergo-sc/zmk | |
ref: main | |
path: src | |
- uses: cachix/install-nix-action@v20 | |
with: | |
nix_path: nixpkgs=channel:nixos-22.05 | |
- uses: cachix/cachix-action@v12 | |
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@v3 | |
with: | |
name: glove80.uf2 | |
path: glove80.uf2 |