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:
Fadumina
2023-01-09 10:23:37 +00:00
committed by GitHub
parent 1f4580fbd8
commit df4b135086
3 changed files with 5 additions and 1 deletions

View File

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