Skip to content

Commit

Permalink
Update build script
Browse files Browse the repository at this point in the history
  • Loading branch information
hadynz committed Dec 2, 2023
1 parent 8e93ba4 commit 824cc32
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,18 @@ jobs:
persist-credentials: false

- name: Symlink keymap from userspace to qmk directory
run: ln -s ../../../${{ github.actor }}/keymap_kinesis keyboards/kinesis/keymaps/${{ github.actor }}
run: |
ln -s ../../../${{ github.actor }}/keymap_kinesis keyboards/kinesis/keymaps/${{ github.actor }}
ln -s ../../../${{ github.actor }}/keymap_keychron_q2 keyboards/keychron/q2/ansi_encoder/keymaps/${{ github.actor }}
- name: Build firmware
run: |
mkdir dist
qmk compile -kb kinesis/stapelberg -km ${{ github.actor }}
qmk c2json -kb kinesis/stapelberg -km hadynz keyboards/kinesis/keymaps/${{ github.actor }}/keymap.c > keymap.json
qmk c2json -kb kinesis/stapelberg -km hadynz keyboards/kinesis/keymaps/${{ github.actor }}/keymap.c > keymap_kinesis.json
qmk compile -kb keychron/q2/ansi_encoder -km ${{ github.actor }}
qmk c2json -kb keychron/q2/ansi_encoder -km hadynz keyboards/keychron/q2/ansi_encoder/keymaps/${{ github.actor }}/keymap.c > keymap_keychron_q2.json
- name: Upload firmware
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 824cc32

Please sign in to comment.