Skip to content

Commit

Permalink
modify the jq command
Browse files Browse the repository at this point in the history
  • Loading branch information
codingkarthik committed Jul 11, 2024
1 parent 11333b4 commit 5162914
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/registry-updates.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,11 @@ jobs:
echo "added files are $ADDED_FILES"
echo "modified files are $MODIFIED_FILES"
echo "deleted files are $DELETED_FILES"
jq -n '{added: $ADDED_FILES, modified: $MODIFIED_FILES, deleted: $DELETED_FILES}'
jq -n
--arg added "$ADDED_FILES" \
--arg modified "$MODIFIED_FILES" \
--arg deleted "$DELETED_FILES" \
'{added: $added, modified: $modified, deleted: $deleted}'
# - name: List changed files
Expand Down

0 comments on commit 5162914

Please sign in to comment.