We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7726bd5 commit 0048b83Copy full SHA for 0048b83
.github/workflows/release.yml
@@ -214,9 +214,10 @@ jobs:
214
run: npm install -g vsce
215
216
- name: Publish to marketplace
217
- if: ${{ secrets.VSCE_TOKEN != '' }}
218
- run: vsce publish --packagePath *.vsix --pat ${{ secrets.VSCE_TOKEN }}
219
-
220
- - name: Skip marketplace publish
221
- if: ${{ secrets.VSCE_TOKEN == '' }}
222
- run: echo "⚠️ VSCE_TOKEN not set, skipping marketplace publish. Extension is available in GitHub release."
+ run: |
+ if [ -n "${{ secrets.VSCE_TOKEN }}" ]; then
+ echo "Publishing to VSCode marketplace..."
+ vsce publish --packagePath *.vsix --pat ${{ secrets.VSCE_TOKEN }}
+ else
+ echo "⚠️ VSCE_TOKEN not set, skipping marketplace publish. Extension is available in GitHub release."
223
+ fi
0 commit comments