mirror of
https://github.com/qmk/qmk_userspace.git
synced 2025-05-05 15:14:17 -04:00
still trying
- now trying to load a variable in the step - not trying to reference another step
This commit is contained in:
parent
e2f0584471
commit
01e68016f6
1 changed files with 7 additions and 1 deletions
8
.github/workflows/qmk_userspace_build.yml
vendored
8
.github/workflows/qmk_userspace_build.yml
vendored
|
@ -66,9 +66,15 @@ jobs:
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install jq -y
|
apt-get install jq -y
|
||||||
|
|
||||||
|
- name: Parse Non Tree Targets JSON file
|
||||||
|
id: parse-json
|
||||||
|
run: |
|
||||||
|
echo "$(cat $GITHUB_WORKSPACE/qmk_nontree.json)" | jq -r '.nontree_targets[]'
|
||||||
|
|
||||||
- name: Copy Non-Tree Keyboards to QMK Firmware
|
- name: Copy Non-Tree Keyboards to QMK Firmware
|
||||||
run: |
|
run: |
|
||||||
for target in "$(cat $GITHUB_WORKSPACE/qmk_nontree.json)" | jq -r '.nontree_targets[];
|
echo "::set-output name=targets::$(cat $GITHUB_WORKSPACE/qmk_nontree.json)" | jq -r '.nontree_targets[]'
|
||||||
|
for target in ${{ targets }};
|
||||||
do
|
do
|
||||||
echo "Copying keyboard: $target"
|
echo "Copying keyboard: $target"
|
||||||
cp $GITHUB_WORKSPACE/keyboards/$target $GITHUB_WORKSPACE/qmk_firmware/keyboards -R
|
cp $GITHUB_WORKSPACE/keyboards/$target $GITHUB_WORKSPACE/qmk_firmware/keyboards -R
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue