Add WAMR-IDE vscode extension to the Visual Studio Marketplace (#1868)
Publish an extension to the visual studio marketplace using a secret token. This allows for automation to take place because downloading and installing the extension is a manual process so it'd be simpler if the extension was published automatically through the visual studio marketplace.
This commit is contained in:
3
.github/workflows/build_wamr_vscode_ext.yml
vendored
3
.github/workflows/build_wamr_vscode_ext.yml
vendored
@ -32,11 +32,14 @@ jobs:
|
||||
working-directory: test-tools/wamr-ide/VSCode-Extension
|
||||
|
||||
- name: generate wamr ide vscode extension
|
||||
env:
|
||||
credentials: ${{ secrets.TOKEN }}
|
||||
run: |
|
||||
npm install -g vsce
|
||||
rm -rf node_modules
|
||||
npm install
|
||||
vsce package
|
||||
vsce publish -p ${{ secrets.TOKEN }}
|
||||
working-directory: test-tools/wamr-ide/VSCode-Extension
|
||||
|
||||
- name: compress the vscode extension
|
||||
|
||||
Reference in New Issue
Block a user