File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : publish to VSCode marketplace
2+
3+ on :
4+ workflow_dispatch :
5+ inputs :
6+ URL :
7+ description : ' input the URL of the VSIX.'
8+ required : true
9+ default : ' '
10+
11+ jobs :
12+ publish-to-vscode-marketplace :
13+ runs-on : ubuntu-latest
14+
15+ steps :
16+ - name : Setup node
17+ uses : actions/setup-node@v2.1.2
18+ with :
19+ node-version : 14
20+
21+ - name : Install VSCE command
22+ run : |
23+ npm install vsce -g
24+
25+ - name : Download VISX fils
26+ uses : nick-invision/retry@v2
27+ with :
28+ timeout_minutes : 10
29+ max_attempts : 10
30+ retry_on : error
31+ shell : bash
32+ command : |
33+ wget ${{ github.event.inputs.URL }}
34+
35+ - name : release to VSCode marketplace
36+ run : |
37+ vsce publish --pat ${{ secrets.VSCE_PAT }} --packagePath *.vsix
Original file line number Diff line number Diff line change 33 "displayName" : " CodeLens Sample" ,
44 "description" : " Samples for VS Code's CodeLens API" ,
55 "version" : " 0.3.6" ,
6- "publisher" : " ms-vscode " ,
6+ "publisher" : " formulahendry " ,
77 "engines" : {
88 "vscode" : " ^1.26.0"
99 },
You can’t perform that action at this time.
0 commit comments