Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -209,10 +209,12 @@ jobs:
with:
node-version: 20
- name: Publish to VS Code Marketplace
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}
if: env.VSCE_PAT != ''
run: npx @vscode/vsce publish --packagePath vsix/*.vsix
run: |
if [ -n "$VSCE_PAT" ]; then
npx @vscode/vsce publish --packagePath vsix/*.vsix
else
echo "VSCE_PAT not set, skipping marketplace publish"
fi
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}

Expand Down
Loading