From f47b7bc727394c5ac28170c842543cb16c9d0a92 Mon Sep 17 00:00:00 2001 From: Robin Date: Fri, 27 Sep 2024 07:28:30 +0000 Subject: [PATCH] chore: read published packages --- .changeset/great-pets-grow.md | 6 ++++++ .github/workflows/cd-registries.yaml | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 .changeset/great-pets-grow.md diff --git a/.changeset/great-pets-grow.md b/.changeset/great-pets-grow.md new file mode 100644 index 0000000..1ac52bf --- /dev/null +++ b/.changeset/great-pets-grow.md @@ -0,0 +1,6 @@ +--- +"backend": patch +"frontend": patch +--- + +Fix iterate published packages diff --git a/.github/workflows/cd-registries.yaml b/.github/workflows/cd-registries.yaml index 1783af6..292f372 100644 --- a/.github/workflows/cd-registries.yaml +++ b/.github/workflows/cd-registries.yaml @@ -59,7 +59,7 @@ jobs: env: INPUT_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - for package in ${{ inputs.publishedPackages }}; do + for package in $(echo '${{ inputs.publishedPackages }}' | jq -c '.[]'); do NAME=$(echo $package | jq -r '.name') VERSION=$(echo $package | jq -r '.version')