mirror of
https://github.com/qmk/qmk_userspace.git
synced 2025-05-05 07:04:17 -04:00
combining read and parse step into one
This commit is contained in:
parent
8a197b0f29
commit
1685622dbd
1 changed files with 1 additions and 7 deletions
8
.github/workflows/qmk_userspace_build.yml
vendored
8
.github/workflows/qmk_userspace_build.yml
vendored
|
@ -66,16 +66,10 @@ jobs:
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install jq -y
|
apt-get install jq -y
|
||||||
|
|
||||||
- name: Import Non Tree Targets JSON file
|
|
||||||
id: read-json
|
|
||||||
run: |
|
|
||||||
cat $GITHUB_WORKSPACE/qmk_nontree.json
|
|
||||||
echo "::set-output name=json::$(cat $GITHUB_WORKSPACE/qmk_nontree.json)"
|
|
||||||
|
|
||||||
- name: Parse Non Tree Targets JSON file
|
- name: Parse Non Tree Targets JSON file
|
||||||
id: parse-json
|
id: parse-json
|
||||||
run: |
|
run: |
|
||||||
echo "${{ steps.read-json.outputs.json }}" | jq -r '.nontree_targets[]'
|
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
|
||||||
id: loop-targets
|
id: loop-targets
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue