fix: use -r with jq and add workflow for artifacts (#5016)

This commit is contained in:
Joe Previte 2022-03-22 16:45:59 -07:00 committed by GitHub
parent cf7cff0f72
commit ba1ddbd181
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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