mirror of
https://github.com/qmk/qmk_userspace.git
synced 2025-05-15 03:45: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
|
qmk userspace-doctor
|
||||||
|
|
||||||
- name: Read Non-Tree Targets from JSON file
|
- name: Read Non-Tree Targets from JSON file
|
||||||
if: steps.check_json_file.outputs.files_exists == 'true'
|
|
||||||
run: |
|
run: |
|
||||||
{
|
{
|
||||||
echo 'COPY_TARGETS<<EOF'
|
echo 'COPY_TARGETS<<EOF'
|
||||||
|
@ -71,6 +70,7 @@ jobs:
|
||||||
} >> "$GITHUB_ENV"
|
} >> "$GITHUB_ENV"
|
||||||
|
|
||||||
- name: Copy Non-Tree Keyboard Defintions from Userspace to QMK Firmware
|
- name: Copy Non-Tree Keyboard Defintions from Userspace to QMK Firmware
|
||||||
|
if: ${{ env.COPY_TARGETS == '' }}
|
||||||
run: |
|
run: |
|
||||||
for target in ${{ join(fromJson(env.COPY_TARGETS).nontree_targets, ' ') }};
|
for target in ${{ join(fromJson(env.COPY_TARGETS).nontree_targets, ' ') }};
|
||||||
do
|
do
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue