diff --git a/action.yml b/action.yml index f39090b..0d84f3d 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]}"