Skip to content

Commit 9ac4aba

Browse files
committed
fix for ovsx
1 parent b345ea8 commit 9ac4aba

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,6 @@ jobs:
136136
jq --arg version "$VERSION" '.version = $version' package.json > "$tmp" && mv "$tmp" package.json
137137
jq '.enableProposedApi = false' package.json > "$tmp" && mv "$tmp" package.json
138138
npm install
139-
npm i -g vsce ovsx
140139
git push
141140
- name: Upload Release Asset
142141
id: upload-release-asset
@@ -151,6 +150,6 @@ jobs:
151150
asset_content_type: application/zip
152151
- name: Publish to Marketplaces
153152
run: |
154-
vsce publish -p ${{ secrets.VSCE_TOKEN }}
155-
ovsx publish --pat ${{ secrets.OVSX_TOKEN }}
153+
./node_modules/.bin/vsce publish -p ${{ secrets.VSCE_TOKEN }}
154+
./node_modules/.bin/ovsx publish --pat ${{ secrets.OVSX_TOKEN }}
156155

package-lock.json

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -882,6 +882,7 @@
882882
"minimist": ">=1.2.5",
883883
"mocha": "^8.0.1",
884884
"nock": "^13.0.0",
885+
"ovsx": "latest",
885886
"prettier": "^2.0.5",
886887
"tape": "^5.0.1",
887888
"ts-loader": "^7.0.5",

0 commit comments

Comments
 (0)