File tree 1 file changed +12
-1
lines changed
1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change 1
1
name : Publish Extension
2
2
3
- on : workflow_dispatch
3
+ on :
4
+ workflow_dispatch :
5
+ vscode_marketplace :
6
+ description : ' Publish to Visual Studio Marketplace'
7
+ type : boolean
8
+ default : true
9
+ open_vsx :
10
+ description : ' Publish to Open VSX Registry'
11
+ type : boolean
12
+ default : true
4
13
5
14
jobs :
6
15
deploy :
@@ -22,13 +31,15 @@ jobs:
22
31
run : npm run package
23
32
24
33
- name : Publish to Visual Studio Marketplace
34
+ if : ${{ github.event.inputs.vscode_marketplace == true }}
25
35
uses : HaaLeo/publish-vscode-extension@v1
26
36
with :
27
37
pat : ${{ secrets.VSCE_TOKEN }}
28
38
registryUrl : https://marketplace.visualstudio.com
29
39
extensionFile : build/nextflow.vsix
30
40
31
41
- name : Publish to Open VSX Registry
42
+ if : ${{ github.event.inputs.open_vsx == true }}
32
43
uses : HaaLeo/publish-vscode-extension@v1
33
44
with :
34
45
pat : ${{ secrets.OPEN_VSX_TOKEN }}
You can’t perform that action at this time.
0 commit comments