mirror of
https://github.com/coder/code-server.git
synced 2024-12-27 03:34:06 +03:00
fix: use -r with jq and add workflow for artifacts (#5016)
This commit is contained in:
parent
cf7cff0f72
commit
ba1ddbd181
3
.github/workflows/docker.yaml
vendored
3
.github/workflows/docker.yaml
vendored
@ -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
|
||||
|
3
.github/workflows/npm-brew.yaml
vendored
3
.github/workflows/npm-brew.yaml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user