mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-05-12 04:31:14 +00:00
build_wamr_vscode_ext.yml: vsce publish only on the official repo (#2130)
This makes it simpler to test workflow files on a fork.
This commit is contained in:
parent
0158eea965
commit
dfca21d239
7
.github/workflows/build_wamr_vscode_ext.yml
vendored
7
.github/workflows/build_wamr_vscode_ext.yml
vendored
|
@ -32,13 +32,16 @@ jobs:
|
||||||
working-directory: test-tools/wamr-ide/VSCode-Extension
|
working-directory: test-tools/wamr-ide/VSCode-Extension
|
||||||
|
|
||||||
- name: generate wamr ide vscode extension
|
- name: generate wamr ide vscode extension
|
||||||
env:
|
|
||||||
credentials: ${{ secrets.TOKEN }}
|
|
||||||
run: |
|
run: |
|
||||||
npm install -g vsce
|
npm install -g vsce
|
||||||
rm -rf node_modules
|
rm -rf node_modules
|
||||||
npm install
|
npm install
|
||||||
vsce package
|
vsce package
|
||||||
|
working-directory: test-tools/wamr-ide/VSCode-Extension
|
||||||
|
|
||||||
|
- name: publish wamr ide vscode extension to the vsce marketplace
|
||||||
|
if: ${{ github.repository == 'bytecodealliance/wasm-micro-runtime' }}
|
||||||
|
run: |
|
||||||
vsce publish -p ${{ secrets.TOKEN }}
|
vsce publish -p ${{ secrets.TOKEN }}
|
||||||
working-directory: test-tools/wamr-ide/VSCode-Extension
|
working-directory: test-tools/wamr-ide/VSCode-Extension
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user