From ba1ddbd1812e170998f73b0b871f5addc762d6d7 Mon Sep 17 00:00:00 2001 From: Joe Previte Date: Tue, 22 Mar 2022 16:45:59 -0700 Subject: [PATCH] fix: use -r with jq and add workflow for artifacts (#5016) --- .github/workflows/docker.yaml | 3 ++- .github/workflows/npm-brew.yaml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker.yaml b/.github/workflows/docker.yaml index d622e2c73..23e08c245 100644 --- a/.github/workflows/docker.yaml +++ b/.github/workflows/docker.yaml @@ -37,13 +37,14 @@ jobs: - name: Get version id: version - run: echo "::set-output name=version::$(jq .version package.json)" + run: echo "::set-output name=version::$(jq -r .version package.json)" - name: Download artifact uses: dawidd6/action-download-artifact@v2 id: download with: branch: v${{ steps.version.outputs.version }} + workflow: ci.yaml workflow_conclusion: completed name: "release-packages" path: release-packages diff --git a/.github/workflows/npm-brew.yaml b/.github/workflows/npm-brew.yaml index 60b3208b5..64ff8dee2 100644 --- a/.github/workflows/npm-brew.yaml +++ b/.github/workflows/npm-brew.yaml @@ -25,13 +25,14 @@ jobs: - name: Get version id: version - run: echo "::set-output name=version::$(jq .version package.json)" + run: echo "::set-output name=version::$(jq -r .version package.json)" - name: Download artifact uses: dawidd6/action-download-artifact@v2 id: download with: branch: v${{ steps.version.outputs.version }} + workflow: ci.yaml workflow_conclusion: completed name: "npm-package" path: release-npm-package