combining read and parse step into one

This commit is contained in:
Victor 2024-04-10 21:17:06 -05:00
parent 8a197b0f29
commit 1685622dbd
Failed to generate hash of commit

View file

@ -66,16 +66,10 @@ jobs:
apt-get update
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
id: parse-json
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
id: loop-targets