Skip to content

Commit daad86e

Browse files
committed
Add gha to publish the extension
1 parent a15678e commit daad86e

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/build.yml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
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: 12
15+
- run: npm ci
16+
- name: Publish to Open VSX Registry
17+
uses: HaaLeo/publish-vscode-extension@v0
18+
with:
19+
pat: ${{ secrets.OPEN_VSX_TOKEN }}
20+
- name: Publish to Visual Studio Marketplace
21+
uses: HaaLeo/publish-vscode-extension@v0
22+
with:
23+
pat: ${{ secrets.VS_MARKETPLACE_TOKEN }}
24+
registryUrl: https://marketplace.visualstudio.com

0 commit comments

Comments
 (0)