Skip to content

Commit a4377ca

Browse files
committed
Update deploy github action
1 parent eb307a4 commit a4377ca

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/publish.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
1+
name: Release
12
on:
23
push:
34
tags:
45
- "*"
56

6-
name: Deploy Extension
77
jobs:
8-
deploy:
8+
release:
99
runs-on: ubuntu-latest
10+
1011
steps:
1112
- uses: actions/checkout@v2
1213
- uses: actions/setup-node@v1
1314
with:
14-
node-version: 12
15+
node-version: 16
16+
registry-url: https://registry.npmjs.org/
1517

16-
- run: npm ci
18+
- name: Install vsce
19+
run: npm i -g vsce
1720

18-
- name: Publish to Visual Studio Marketplace
19-
uses: HaaLeo/publish-vscode-extension@v0
20-
with:
21-
pat: ${{ secrets.VS_MARKETPLACE_TOKEN }}
22-
registryUrl: https://marketplace.visualstudio.com
21+
- name: Publish
22+
run: vsce publish -p ${{ secrets.VS_MARKETPLACE_TOKEN }}

0 commit comments

Comments
 (0)