mirror of
https://github.com/qmk/qmk_userspace.git
synced 2025-05-14 03:15:29 -04:00
added a check to ensure environment variable is set before
trying to process it
This commit is contained in:
parent
24251d5fbb
commit
1e368b9767
1 changed files with 1 additions and 1 deletions
2
.github/workflows/qmk_userspace_build.yml
vendored
2
.github/workflows/qmk_userspace_build.yml
vendored
|
@ -62,7 +62,6 @@ jobs:
|
|||
qmk userspace-doctor
|
||||
|
||||
- name: Read Non-Tree Targets from JSON file
|
||||
if: steps.check_json_file.outputs.files_exists == 'true'
|
||||
run: |
|
||||
{
|
||||
echo 'COPY_TARGETS<<EOF'
|
||||
|
@ -71,6 +70,7 @@ jobs:
|
|||
} >> "$GITHUB_ENV"
|
||||
|
||||
- name: Copy Non-Tree Keyboard Defintions from Userspace to QMK Firmware
|
||||
if: ${{ env.COPY_TARGETS == '' }}
|
||||
run: |
|
||||
for target in ${{ join(fromJson(env.COPY_TARGETS).nontree_targets, ' ') }};
|
||||
do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue