From 416aadd76679a7398c5b60d069d38495c5909db7 Mon Sep 17 00:00:00 2001 From: Uzaeir Khan Date: Tue, 14 Nov 2023 13:50:09 +0100 Subject: [PATCH] BC-5468 use flatten --- .github/workflows/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f059fd8d..ed9b6743 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -104,7 +104,8 @@ jobs: done < <(jq -r 'to_entries | .[] | "\(.key)=\(.value)"' "$file_path") done - json_output=$(jq -s --compact-output 'to_entries | .[] | "\(.key)=\(.value)"' "${file_paths[@]}") + json_output=$(jq -s --compact-output 'to_entries | .[] | flatten | "\(.key)=\(.value)"' "${file_paths[@]}") + # json_output="{" # for key in "${!key_value_pairs[@]}"; do