From 2660030a874fc6c80256639335bbcb8ff6e8c934 Mon Sep 17 00:00:00 2001 From: Martin Lupa Date: Wed, 11 Dec 2024 13:07:15 +0100 Subject: [PATCH] fix: output echo --- .github/workflows/release.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3db9be3..814e597 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -35,12 +35,15 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} release-type: node + - name: Install jq + run: sudo apt-get install -y jq + - name: Echo outputs run: | echo "Releases created: ${{ steps.release.outputs.releases_created }}" echo "PRs created: ${{ steps.release.outputs.prs_created }}" - echo "PR details: ${{ steps.release.outputs.pr }}" - PR_NUMBER=$(echo '${{ steps.release.outputs.pr }}' | jq -r '.number') + echo "PR details: $PR_JSON" + PR_NUMBER=$(echo "$PR_JSON" | jq -r '.number') echo "PR number: $PR_NUMBER" env: PR_JSON: ${{ steps.release.outputs.pr }}