From 87a7267669f7f75ce3a719ea09a990d36aaa401c Mon Sep 17 00:00:00 2001 From: Karthikeyan C Date: Tue, 16 Jul 2024 15:05:55 +0530 Subject: [PATCH] echo all the added, modified and deleted files --- .github/workflows/registry-updates.yaml | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/.github/workflows/registry-updates.yaml b/.github/workflows/registry-updates.yaml index dbf180e7..4dda4a52 100644 --- a/.github/workflows/registry-updates.yaml +++ b/.github/workflows/registry-updates.yaml @@ -40,18 +40,14 @@ jobs: OUTPUT: ${{ toJson(steps.changed-files.outputs) }} run: | echo "**************" - echo "$OUTPUT" | jq -R ' - def recurse_fromjson: - fromjson? // . | - if type == "object" then - map_values(recurse_fromjson) - elif type == "array" then - map(recurse_fromjson) - else - . - end; - recurse_fromjson - ' + echo "$ADDED_FILES" | jq . + echo "**************" + echo $MODIFIED_FILES" | jq . + echo "**************" + echo "$DELETED_FILES" | jq . + echo "**************" + + # - name: List changed files