File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Release vsix to OpenVSX and VSCode marketplace
2
+ on : [release]
3
+
4
+ jobs :
5
+ release :
6
+ name : " Release"
7
+ runs-on : ubuntu-latest
8
+ steps :
9
+ - uses : actions/checkout@master
10
+
11
+ - name : Set Node.js 10.x
12
+ uses : actions/setup-node@master
13
+ with :
14
+ version : 14.x
15
+
16
+ - name : npm install
17
+ run : npm install
18
+
19
+ - name : typescript
20
+ run : npx tsc
21
+
22
+ - name : Publish to Open VSX Registry
23
+ uses : HaaLeo/publish-vscode-extension@v0
24
+ id : publishToOpenVSX
25
+ with :
26
+ pat : ${{ secrets.OPEN_VSX_TOKEN }}
27
+ - name : Publish to Visual Studio Marketplace
28
+ uses : HaaLeo/publish-vscode-extension@v0
29
+ with :
30
+ pat : ${{ secrets.VS_MARKETPLACE_TOKEN }}
31
+ registryUrl : https://marketplace.visualstudio.com
32
+ extensionFile : ${{ steps.publishToOpenVSX.outputs.vsixPath }}
33
+ packagePath : ' '
34
+ - name : Upload
35
+ uses : djn24/add-asset-to-release@v1
36
+ with :
37
+ token : ${{secrets.GITHUB_TOKEN}}
38
+ path : ${{ steps.publishToOpenVSX.outputs.vsixPath }}
You can’t perform that action at this time.
0 commit comments