mirror of
https://github.com/qmk/qmk_userspace.git
synced 2025-05-04 22:54:16 -04:00
trying again to do it all in one step
This commit is contained in:
parent
85b89bc102
commit
a9843281aa
1 changed files with 3 additions and 8 deletions
11
.github/workflows/qmk_userspace_build.yml
vendored
11
.github/workflows/qmk_userspace_build.yml
vendored
|
@ -66,16 +66,11 @@ jobs:
|
|||
apt-get update
|
||||
apt-get install jq -y
|
||||
|
||||
- name: Parse Non Tree Targets JSON file
|
||||
id: parse-json
|
||||
run: |
|
||||
targets=$( cat $GITHUB_WORKSPACE/qmk_nontree.json ) | jq -r '.nontree_targets[]'
|
||||
echo "COPY_TARGETS=$targets" >> "$GITHUB_ENV"
|
||||
|
||||
- name: Copy Non-Tree Keyboards to QMK Firmware
|
||||
run: |
|
||||
echo $COPY_TARGETS
|
||||
for target in $COPY_TARGETS;
|
||||
targets=$( cat $GITHUB_WORKSPACE/qmk_nontree.json ) | jq -r '.nontree_targets[]'
|
||||
echo $targets
|
||||
for target in $targets;
|
||||
do
|
||||
echo "Copying keyboard: $target"
|
||||
cp $GITHUB_WORKSPACE/keyboards/$target $GITHUB_WORKSPACE/qmk_firmware/keyboards -R
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue