mirror of
https://github.com/qmk/qmk_userspace.git
synced 2025-05-29 18:40:08 -04:00
trying environment variables
This commit is contained in:
parent
388919a4a0
commit
85b89bc102
1 changed files with 3 additions and 3 deletions
6
.github/workflows/qmk_userspace_build.yml
vendored
6
.github/workflows/qmk_userspace_build.yml
vendored
|
@ -70,12 +70,12 @@ jobs:
|
|||
id: parse-json
|
||||
run: |
|
||||
targets=$( cat $GITHUB_WORKSPACE/qmk_nontree.json ) | jq -r '.nontree_targets[]'
|
||||
echo "::set-output name=copy_targets::$targets"
|
||||
echo "COPY_TARGETS=$targets" >> "$GITHUB_ENV"
|
||||
|
||||
- name: Copy Non-Tree Keyboards to QMK Firmware
|
||||
run: |
|
||||
echo ${{ steps.parse-json.outputs.copy_targets }}
|
||||
for target in ${{ steps.parse-json.outputs.copy_targets }};
|
||||
echo $COPY_TARGETS
|
||||
for target in $COPY_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