Skip to content

Commit

Permalink
build_wamr_vscode_ext.yml: vsce publish only on the official repo
Browse files Browse the repository at this point in the history
This makes it simpler to test workflow files on a fork.
  • Loading branch information
yamt committed Apr 18, 2023
1 parent ce2a489 commit 7b4d1ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build_wamr_vscode_ext.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ jobs:
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 }}
working-directory: test-tools/wamr-ide/VSCode-Extension
Expand Down

0 comments on commit 7b4d1ac

Please sign in to comment.