Update installation and start of components

Signed-off-by: Sanjula Ganepola <sanjulagane@gmail.com>
This commit is contained in:
Sanjula Ganepola
2024-09-30 21:30:32 -04:00
parent 499886721f
commit ef1a7145ce
6 changed files with 309 additions and 45 deletions

View File

@@ -72,6 +72,18 @@
"title": "Information",
"icon": "$(info)"
},
{
"category": "GitHub Local Actions",
"command": "githubLocalActions.installComponent",
"title": "Install",
"icon": "$(desktop-download)"
},
{
"category": "GitHub Local Actions",
"command": "githubLocalActions.startComponent",
"title": "Start",
"icon": "$(debug-start)"
},
{
"category": "GitHub Local Actions",
"command": "githubLocalActions.runAllWorkflows",
@@ -119,6 +131,14 @@
"command": "githubLocalActions.information",
"when": "never"
},
{
"command": "githubLocalActions.installComponent",
"when": "never"
},
{
"command": "githubLocalActions.startComponent",
"when": "never"
},
{
"command": "githubLocalActions.runAllWorkflows",
"when": "never"
@@ -177,6 +197,16 @@
"when": "view == components && viewItem =~ /^githubLocalActions.component.*/",
"group": "inline@0"
},
{
"command": "githubLocalActions.installComponent",
"when": "view == components && viewItem =~ /^githubLocalActions.component_(Not Installed|Not Activated).*/",
"group": "inline@1"
},
{
"command": "githubLocalActions.startComponent",
"when": "view == components && viewItem =~ /^githubLocalActions.component_Not Running.*/",
"group": "inline@1"
},
{
"command": "githubLocalActions.openWorkflow",
"when": "view == workflows && viewItem =~ /^githubLocalActions.workflow.*/",