Skip to content

Commit eb4f421

Browse files
committed
[ADD] a check to prevent publishing more than one package version to the vscode marketplace
1 parent 3aa2692 commit eb4f421

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/publish_vsix.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ jobs:
161161
path: "${{env.WORKING_DIRECTORY}}/*.vsix"
162162

163163
- name: Publish to Marketplace
164+
if: ${{matrix.vscode_version}} == ${{env.LATEST_VERSION}}
164165
run: npx vsce publish -p ${{ secrets.VSCE_TOKEN }}
165166
env:
166167
VSCE_PAT: ${{ secrets.VSCE_TOKEN }}

0 commit comments

Comments
 (0)