-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (35 loc) · 981 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
name: Userspace Keymap Build
on: [workflow_dispatch, push]
jobs:
build:
runs-on: ubuntu-latest
container: ghcr.io/qmk/qmk_cli
strategy:
fail-fast: false
matrix:
keymap:
- combo
steps:
- name: Disable git safe directory checks
run: git config --global --add safe.directory '*'
- name: Checkout QMK
uses: actions/checkout@v3
with:
repository: qmk/qmk_firmware
submodules: recursive
- name: Checkout this directory
uses: actions/checkout@v3
with:
path: users/${{ github.actor }}
- name: Compile
run: >
qmk compile "users/${{ github.actor }}/keymaps/${{ matrix.keymap }}.json"
- name: Archive output
uses: actions/upload-artifact@v3
with:
retention-days: 60
name: ${{ matrix.keymap }}_${{ github.actor }}
path: |
*.hex
*.bin
*.uf2