Skip to content

Merge pull request #2 from heumann-a/feature/fw16 #1

Merge pull request #2 from heumann-a/feature/fw16

Merge pull request #2 from heumann-a/feature/fw16 #1

Workflow file for this run

name: FW16 QMK Firmware
on:
push:
branches: [master,main]
paths: ['fw16_keyboard/**','fw16_macropad/**']
env:
KEYMAP: hexa
KEYBOARD: splitkb/aurora/lily58/rev1
MACROPAD: splitkb/aurora/lily58/rev1
jobs:
Build-QMK-Firmware-Keyboard:
runs-on: ubuntu-latest
steps:
- name: Checkout own repo
uses: actions/checkout@v3
with:
path: keymaps
- name: Checkout QMK repo
uses: actions/checkout@v3
with:
repository: qmk/qmk_firmware
submodules: recursive
path: qmk_firmware
- name: Copy keyboard file into QMK Firmware
run: cp -r "./keymaps/fw16_keyboard" "./qmk_firmware/keyboards/splitkb/aurora/lily58/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 $KEYBOARD:$KEYMAP
working-directory: ./qmk_firmware
- name: Save Artifact
uses: actions/upload-artifact@v3
with:
name: hexa-firmware-fw16-keyboard
path: ./qmk_firmware/xxx.uf2
if-no-files-found: error
Build-QMK-Firmware-Macropad:
runs-on: ubuntu-latest
steps:
- name: Checkout own repo
uses: actions/checkout@v3
with:
path: keymaps
- name: Checkout QMK repo
uses: actions/checkout@v3
with:
repository: qmk/qmk_firmware
submodules: recursive
path: qmk_firmware
- name: Copy macropad file into QMK Firmware
run: cp -r "./keymaps/fw16_macropad" "./qmk_firmware/keyboards/splitkb/aurora/lily58/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 $KEYBOARD:$KEYMAP
working-directory: ./qmk_firmware
- name: Save Artifact
uses: actions/upload-artifact@v3
with:
name: hexa-firmware-fw16-macropad
path: ./qmk_firmware/splitkb_aurora_lily58_rev1_hexa_promicro_rp2040.uf2
if-no-files-found: error