diff --git a/action.yml b/action.yml index 0d84f3d..512c8b0 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 | .[0]') echo "jsonOutput: $jsonOutput" echo "jsonOutput: ${jsonOutput[0]}"