diff --git a/action.yml b/action.yml index 9ad6e12..f39090b 100644 --- a/action.yml +++ b/action.yml @@ -92,7 +92,7 @@ runs: # extracted_element="${my_array[$index_to_extract]}" # echo "Extracted element: $extracted_element" - jsonOutput=$(echo "$json" | jq -r '.tags') + jsonOutput=$(echo "$json" | jq -r '.tags' | '.[]') echo "jsonOutput: $jsonOutput" echo "jsonOutput: ${jsonOutput[0]}"