From 5162914f941ffba4bb8566f28b93c4220a2a1e6a Mon Sep 17 00:00:00 2001 From: Karthikeyan C Date: Thu, 11 Jul 2024 16:20:20 +0530 Subject: [PATCH] modify the jq command --- .github/workflows/registry-updates.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/registry-updates.yaml b/.github/workflows/registry-updates.yaml index 26acd1e3..c82ec7a9 100644 --- a/.github/workflows/registry-updates.yaml +++ b/.github/workflows/registry-updates.yaml @@ -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