Skip to content

Commit

Permalink
echo all the added, modified and deleted files
Browse files Browse the repository at this point in the history
  • Loading branch information
codingkarthik committed Jul 16, 2024
1 parent 8766377 commit 87a7267
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions .github/workflows/registry-updates.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 87a7267

Please sign in to comment.