mirror of https://github.com/coder/code-server.git
fix: use -r with jq and add workflow for artifacts (#5016)
This commit is contained in:
parent
cf7cff0f72
commit
ba1ddbd181
|
@ -37,13 +37,14 @@ jobs:
|
||||||
|
|
||||||
- name: Get version
|
- name: Get version
|
||||||
id: 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
|
- name: Download artifact
|
||||||
uses: dawidd6/action-download-artifact@v2
|
uses: dawidd6/action-download-artifact@v2
|
||||||
id: download
|
id: download
|
||||||
with:
|
with:
|
||||||
branch: v${{ steps.version.outputs.version }}
|
branch: v${{ steps.version.outputs.version }}
|
||||||
|
workflow: ci.yaml
|
||||||
workflow_conclusion: completed
|
workflow_conclusion: completed
|
||||||
name: "release-packages"
|
name: "release-packages"
|
||||||
path: release-packages
|
path: release-packages
|
||||||
|
|
|
@ -25,13 +25,14 @@ jobs:
|
||||||
|
|
||||||
- name: Get version
|
- name: Get version
|
||||||
id: 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
|
- name: Download artifact
|
||||||
uses: dawidd6/action-download-artifact@v2
|
uses: dawidd6/action-download-artifact@v2
|
||||||
id: download
|
id: download
|
||||||
with:
|
with:
|
||||||
branch: v${{ steps.version.outputs.version }}
|
branch: v${{ steps.version.outputs.version }}
|
||||||
|
workflow: ci.yaml
|
||||||
workflow_conclusion: completed
|
workflow_conclusion: completed
|
||||||
name: "npm-package"
|
name: "npm-package"
|
||||||
path: release-npm-package
|
path: release-npm-package
|
||||||
|
|
Loading…
Reference in New Issue