File tree Expand file tree Collapse file tree 2 files changed +36
-0
lines changed Expand file tree Collapse file tree 2 files changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Deploy
2+
3+ on :
4+ workflow_dispatch :
5+
6+ jobs :
7+ publish-extension :
8+ name : Publish to marketplace
9+ runs-on : ubuntu-latest
10+ environment : production
11+ steps :
12+ - name : Checkout repository
13+ uses : actions/checkout@v4
14+
15+ - name : Set up Node.js
16+ uses : actions/setup-node@v4
17+ with :
18+ node-version-file : .nvmrc
19+ cache : yarn
20+
21+ - name : Install dependencies
22+ run : yarn install
23+
24+ - name : Publish to Open VSX Registry
25+ id : publishToOpenVSX
26+ uses : HaaLeo/publish-vscode-extension@v1
27+ with :
28+ pat : ${{ secrets.OPEN_VSX_TOKEN }}
29+
30+ - name : Publish to Visual Studio Marketplace
31+ uses : HaaLeo/publish-vscode-extension@v1
32+ with :
33+ pat : ${{ secrets.VS_MARKETPLACE_TOKEN }}
34+ registryUrl : https://marketplace.visualstudio.com
35+ extensionFile : ${{ steps.publishToOpenVSX.outputs.vsixPath }}
Original file line number Diff line number Diff line change 1+ v21.1.0
You can’t perform that action at this time.
0 commit comments