Skip to content

Commit 1a16552

Browse files
committed
adding ability to publish to OVSX as part of publish workflow
1 parent f7759c1 commit 1a16552

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/marketplace-publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ jobs:
3636
- name: Package and Publish Extension
3737
env:
3838
VSCE_PAT: ${{ secrets.VSCE_PAT }}
39+
OVSX_PAT: ${{ secrets.OVSX_PAT }}
3940
run: |
4041
current_package_version=$(node -p "require('./package.json').version")
4142
npm run publish:marketplace
4243
echo "Successfully published version $current_package_version to VS Code Marketplace"
44+

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@
161161
"test:webview": "cd webview-ui && npm run test",
162162
"test:extension": "vscode-test",
163163
"prepare": "husky",
164-
"publish:marketplace": "vsce publish",
164+
"publish:marketplace": "vsce publish && ovsx publish",
165165
"publish": "npm run build && changeset publish && npm install --package-lock-only",
166166
"version-packages": "changeset version && npm install --package-lock-only",
167167
"vscode:prepublish": "npm run package",

0 commit comments

Comments
 (0)