Skip to content

Commit

Permalink
use global vsce to publish the extension for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Calvinn Ng committed May 20, 2024
1 parent 82a0ffd commit 0434db9
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/build_all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,14 @@ jobs:
cd build && echo "VSIX_FILE=$(ls *.vsix)" >> $GITHUB_ENV
shell: bash

- name: Publish Extension
- name: Publish Extension for Windows
if: startsWith(matrix.os, 'windows')
run: |
cd extensions/vscode/build
vsce publish --pat ${{ secrets.VS_MARKETPLACE_TOKEN }} --packagePath ${{ env.VSIX_FILE }}
- name: Publish Extension for Linux
if: startsWith(matrix.os, 'macos') || startsWith(matrix.os, 'ubuntu')
run: |
cd extensions/vscode/build
../node_modules/@vscode/vsce/vsce publish --pat ${{ secrets.VS_MARKETPLACE_TOKEN }} --packagePath ${{ env.VSIX_FILE }}
Expand Down

0 comments on commit 0434db9

Please sign in to comment.