Test branch (#5733)
* fix: use * for test plugin engines This removes the need to update this version with every version change. * refactor: use npm-package in release assets This adds a new job to `release.yaml` to upload the `npm-package` to the release assets which will also allow us to download it in the `publish.yaml` workflow. * docs: update release instructions
This commit is contained in:
14
.github/workflows/publish.yaml
vendored
14
.github/workflows/publish.yaml
vendored
@ -28,15 +28,13 @@ jobs:
|
||||
id: version
|
||||
run: echo "::set-output name=version::$(jq -r .version package.json)"
|
||||
|
||||
- name: Download artifact
|
||||
uses: dawidd6/action-download-artifact@v2
|
||||
id: download
|
||||
- name: Download npm package from release artifacts
|
||||
uses: robinraju/release-downloader@v1.5
|
||||
with:
|
||||
branch: release/v${{ steps.version.outputs.version }}
|
||||
workflow: build.yaml
|
||||
workflow_conclusion: completed
|
||||
name: "npm-package"
|
||||
path: release-npm-package
|
||||
repository: "coder/code-server"
|
||||
tag: v${{ steps.version.outputs.version }}
|
||||
fileName: "npm-package"
|
||||
out-file-path: "release-npm-package"
|
||||
|
||||
- name: Publish npm package and tag with "latest"
|
||||
run: yarn publish:npm
|
||||
|
Reference in New Issue
Block a user