Skip to content

Commit 48c6474

Browse files
authored
chore: Publish to vsce and ovsx from action (#134)
1 parent 2906bbd commit 48c6474

File tree

3 files changed

+105
-0
lines changed

3 files changed

+105
-0
lines changed

Diff for: .github/workflows/release.yml

+8
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,11 @@ jobs:
3030
asset_path: ./artifacts/phpactor.vsix
3131
asset_name: phpactor.vsix
3232
asset_content_type: application/octet-stream
33+
- name: Publish to Visual Studio Marketplace
34+
run: npx vsce publish --packagePath ./artifacts/phpactor.vsix
35+
env:
36+
VSCE_PAT: ${{ secrets.VSCE_PAT }}
37+
- name: Publish to Open VSX Registry
38+
run: npx ovsx publish --packagePath ./artifacts/phpactor.vsix
39+
env:
40+
OVSX_PAT: ${{ secrets.OVSX_PAT }}

Diff for: package-lock.json

+96
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: package.json

+1
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@
148148
"eslint-plugin-jsdoc": "^48.0.0",
149149
"glob": "^10.0.0",
150150
"mocha": "^10.1.0",
151+
"ovsx": "^0.9.1",
151152
"prettier": "3.3.2",
152153
"rimraf": "~5.0.0",
153154
"source-map-support": "^0.5.12",

0 commit comments

Comments
 (0)