Skip to content

Commit 782a431

Browse files
committed
publish to open-vsx.org
1 parent 1b40de3 commit 782a431

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ jobs:
132132
jq --arg version "$VERSION" '.version = $version' package.json > "$tmp" && mv "$tmp" package.json
133133
jq '.enableProposedApi = false' package.json > "$tmp" && mv "$tmp" package.json
134134
npm install
135-
npm i -g vsce
135+
npm i -g vsce ovsx
136136
git push
137137
- name: Upload Release Asset
138138
id: upload-release-asset
@@ -145,6 +145,8 @@ jobs:
145145
asset_path: ./dist/package.vsix
146146
asset_name: ${{ steps.set-version.outputs.name }}.vsix
147147
asset_content_type: application/zip
148-
- name: Publish to Marketplace
149-
run: vsce publish -p ${{ secrets.VSCE_TOKEN }}
148+
- name: Publish to Marketplaces
149+
run: |
150+
vsce publish -p ${{ secrets.VSCE_TOKEN }}
151+
ovsx publish --pat ${{ secrets.OVSX_TOKEN }}
150152

0 commit comments

Comments
 (0)