Skip to content

V1.0 Macropad

V1.0 Macropad #8

name: FW16 QMK Firmware Macropad
on:
push:
branches: [master,main]
paths: ['fw16_macropad/**']
env:
KEYMAP: hexa
KEYBOARD: framework/macropad
TAG: v0.2.9
jobs:
Build-QMK-Firmware-Macropad:
runs-on: ubuntu-latest
steps:
- name: Checkout own repo
uses: actions/checkout@v4
with:
path: keymaps
- name: Checkout QMK repo
uses: actions/checkout@v4
with:
repository: FrameworkComputer/qmk_firmware
ref: ${{ env.TAG }}
path: qmk_firmware
fetch-depth: 0
submodules: recursive
- name: Copy macropad files into QMK Firmware
run: cp -r "./keymaps/fw16_macropad" "./qmk_firmware/keyboards/framework/macropad/keymaps/${KEYMAP}"
- name: Copy userspace files into QMK Firmware
run: cp -r "./keymaps/hexa" "./qmk_firmware/users/hexa"
- name: Build Firmware
run: util/docker_build.sh ${{ env.KEYBOARD }}:${{ env.KEYMAP }}
working-directory: ./qmk_firmware
- name: Save Artifact
uses: actions/upload-artifact@v4
with:
name: hexa-firmware-fw16-macropad
path: ./qmk_firmware/framework_macropad_hexa.uf2
if-no-files-found: error