Skip to content

Commit 6e13d8a

Browse files
committed
Update release.yml
1 parent ec968e4 commit 6e13d8a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,11 +99,13 @@ jobs:
9999
draft: false
100100
files: postscript-preview-${{ steps.package-version.outputs.current-version }}.vsix
101101
- name: Publish to Open VSX Registry
102+
if: env.OVSX_EXISTS == 'false'
102103
uses: HaaLeo/publish-vscode-extension@v1
103104
with:
104105
pat: ${{ secrets.OPEN_VSX_TOKEN }}
105106
extensionFile: postscript-preview-${{ steps.package-version.outputs.current-version }}.vsix
106107
- name: Publish to Visual Studio Marketplace
108+
if: env.VS_EXISTS == 'false'
107109
uses: HaaLeo/publish-vscode-extension@v1
108110
with:
109111
pat: ${{ secrets.VS_MARKETPLACE_TOKEN }}

0 commit comments

Comments
 (0)