Skip to content

Commit

Permalink
VS Code release: use vsce publish command directly to provide the -p …
Browse files Browse the repository at this point in the history
…option
  • Loading branch information
adamziel committed Mar 13, 2024
1 parent 0640369 commit 274f99f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release-vscode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ jobs:
git config --global user.email "[email protected]"
npm version patch -m "VSCode Extension: Version %s"
git push [email protected]:wordpress/playground-tools.git --follow-tags
- name: Authenticate with VS Code Marketplace
run: vsce login WordPressPlayground -p ${{ secrets.VSCODE_PERSONAL_ACCESS_TOKEN }}
- name: Publish to VS Code Marketplace
run: npm run release:vscode
run: |
nx build vscode-extension
cd dist/packages/vscode-extension
vsce publish -p ${{ secrets.VSCODE_PERSONAL_ACCESS_TOKEN }}

0 comments on commit 274f99f

Please sign in to comment.