Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 7dd156f

Browse filesBrowse files
authored
Merge pull request #352 from mre/issue/351
Add a workflow for publishing an extension to open-vsx.org
2 parents 2820140 + e29a4ee commit 7dd156f
Copy full SHA for 7dd156f

File tree

3 files changed

+13
-8
lines changed
Filter options

3 files changed

+13
-8
lines changed

‎.github/workflows/ci.yml

Copy file name to clipboardExpand all lines: .github/workflows/ci.yml
+10-5Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,17 @@ jobs:
5555
with:
5656
name: package
5757

58-
- name: Vscode release plugin
59-
uses: JCofman/vscodeaction@master
60-
env:
61-
PUBLISHER_TOKEN: ${{ secrets.PUBLISHER_TOKEN }}
58+
- name: Publish to Open VSX Registry
59+
uses: HaaLeo/publish-vscode-extension@v1
60+
with:
61+
pat: ${{ secrets.OPEN_VSX_TOKEN }}
62+
extensionFile: package.vsix
63+
- name: Publish to Visual Studio Marketplace
64+
uses: HaaLeo/publish-vscode-extension@v1
6265
with:
63-
args: publish -p $PUBLISHER_TOKEN -i package.vsix
66+
pat: ${{ secrets.PUBLISHER_TOKEN }}
67+
registryUrl: https://marketplace.visualstudio.com
68+
extensionFile: package.vsix
6469

6570
pre-release:
6671
if: endsWith(github.ref, '-pre')

‎package-lock.json

Copy file name to clipboardExpand all lines: package-lock.json
+2-2Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

Copy file name to clipboardExpand all lines: package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "snippet",
33
"displayName": "Snippet",
44
"description": "Insert a snippet from cht.sh for Python, JavaScript, Ruby, C#, Go, Rust (and any other language)",
5-
"version": "1.0.1",
5+
"version": "1.0.2",
66
"publisher": "vscode-snippet",
77
"engines": {
88
"vscode": "^1.74.0"

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.