Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Sample VSCode tasks for Workflows deploy
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
//
// Sample VSCode tasks for Workflows deploy
"version": "2.0.0",
"tasks": [
{
"label": "workflow: run",
"type": "shell",
"command": "gcloud beta workflows deploy ${fileBasenameNoExtension} --source=${file};gcloud beta workflows execute ${fileBasenameNoExtension};gcloud beta workflows executions describe-last",
"problemMatcher": [],
},
{
"label": "workflow: deploy",
"type": "shell",
"command": "gcloud beta workflows deploy ${fileBasenameNoExtension} --source=${file}",
"problemMatcher": [],
"group": {
"kind": "build",
"isDefault": true
},
},
{
"label": "workflow: execute",
"type": "shell",
"command": "gcloud beta workflows execute ${fileBasenameNoExtension}",
"problemMatcher": [],
},
{
"label": "workflow: describe-last",
"type": "shell",
"command": "gcloud beta workflows executions describe-last",
"problemMatcher": [],
},
{
"label": "workflow: list",
"type": "shell",
"command": "gcloud beta workflows list",
"problemMatcher": [],
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment