Added a loop to copy the boards listed in the config file

This commit is contained in:
Victor 2024-04-10 20:05:07 -05:00
parent 9fff119897
commit b30815e11c
Failed to generate hash of commit
3 changed files with 5 additions and 2 deletions

View file

@ -1,3 +1,3 @@
keyboard:
- 'barbellboards/rollow'
- 'barbellboards'
- 'planck'

View file

@ -12,6 +12,7 @@ jobs:
with:
qmk_repo: qmk/qmk_firmware
qmk_ref: master
config-file: ./.github/workflows/Configuration/keyboard_nontree.yaml
publish:
name: 'QMK Userspace Publish'

View file

@ -63,7 +63,9 @@ jobs:
- name: Copy Non-Tree Keyboards to QMK Firmware
run: |
cp $GITHUB_WORKSPACE/keyboards/barbellboards $GITHUB_WORKSPACE/qmk_firmware/keyboards -R
for kb in '${keyboard[@]}'; do
cp $GITHUB_WORKSPACE/keyboards/$kb $GITHUB_WORKSPACE/qmk_firmware/keyboards -R
done
- name: Build
run: |