Skip to content

Commit 6a07333

Browse files
authored
use Action to publish the plugin
1 parent e1e82a0 commit 6a07333

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/main.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+
name: Deploy Extension
6+
jobs:
7+
deploy:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v4
11+
- uses: actions/setup-node@v4
12+
with:
13+
node-version: 20
14+
- run: npm ci
15+
- name: Publish to Visual Studio Marketplace
16+
uses: HaaLeo/publish-vscode-extension@v1
17+
with:
18+
pat: ${{ secrets.VS_MARKETPLACE_TOKEN }}
19+
registryUrl: https://marketplace.visualstudio.com

0 commit comments

Comments
 (0)