From 9757b81cf9782a651e5c01eedbe93052729c2089 Mon Sep 17 00:00:00 2001 From: Uzaeir Khan Date: Tue, 14 Nov 2023 12:49:41 +0100 Subject: [PATCH] BC-5468 use from_entries in jq --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b582d0a3..7080f4a7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -113,7 +113,7 @@ jobs: # done < <(jq -r 'to_entries | .[] | "\(.key)=\(.value)"' "$file_path") done - json_output=$(jq -n -c 'reduce inputs as $item ({}; . * $item)') + json_output=$(jq -n -c 'from_entries($key_value_pairs)') # json_output="{" # for key in "${!key_value_pairs[@]}"; do