Skip to content

Commit 7cdce94

Browse files
committed
feat(workflow): Add publishing to OpenVSX Registry
1 parent 55f9837 commit 7cdce94

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

.github/workflows/publish.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
on:
2+
push:
3+
tags:
4+
- "*"
5+
6+
name: Deploy Extension
7+
jobs:
8+
deploy:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
- uses: actions/setup-node@v1
13+
with:
14+
node-version: 16
15+
- run: npm ci
16+
- name: Publish to Open VSX Registry
17+
uses: HaaLeo/publish-vscode-extension@v1
18+
with:
19+
pat: ${{ secrets.OPEN_VSX_TOKEN }}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"version": "0.6.0",
77
"publisher": "mint-lang",
88
"repository": {
9-
"url": "https://github.com/s0kil/mint-vscode"
9+
"url": "https://github.com/mint-lang/mint-vscode"
1010
},
1111
"engines": {
1212
"vscode": "^1.49.0"

0 commit comments

Comments
 (0)