From dde48c4b33644f6e8628a6ae3ee3963107b35a20 Mon Sep 17 00:00:00 2001 From: Stuart Leeks Date: Thu, 19 May 2022 11:35:36 +0100 Subject: [PATCH] Update AzDO task version to 0.2 --- action.yml | 2 +- azdo-task/DevContainerBuildRun/task.json | 9 +++++---- azdo-task/vss-extension.json | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/action.yml b/action.yml index b75e9794..16af447c 100644 --- a/action.yml +++ b/action.yml @@ -42,7 +42,7 @@ inputs: default: false description: For non-root dev containers (i.e. where `remoteUser` is specified), the action attempts to make the container user UID and GID match those of the host user. Set this to true to skip this step (defaults to false) runs: - using: 'node12' + using: 'node16' main: 'github-action/dist/index.js' post: 'github-action/dist/index.js' post-if: 'success()' diff --git a/azdo-task/DevContainerBuildRun/task.json b/azdo-task/DevContainerBuildRun/task.json index 8b236fdf..aa42b4ba 100644 --- a/azdo-task/DevContainerBuildRun/task.json +++ b/azdo-task/DevContainerBuildRun/task.json @@ -9,7 +9,7 @@ "category": "Build", "version": { "Major": 0, - "Minor": 1, + "Minor": 2, "Patch": 0 }, "visibility": [ @@ -69,19 +69,20 @@ "name": "pushOnFailedBuild", "type": "boolean", "defaultValue": false, - "required": false + "required": false, + "label": "Control whether to push the image on failed builds (if push==filter)" }, { "name": "buildReasonsForPush", "type": "multiLine", - "label": "Set the Build Reasons that should trigger a push of the dev container image . Defaults to Manual, IndividualCI, BatchedCI. (see https://docs.microsoft.com/en-us/azure/devops/pipelines/build/variables?view=azure-devops&viewFallbackFrom=vsts&tabs=yaml)", + "label": "Set the Build Reasons that should trigger a push of the dev container image (if push=filter). Defaults to Manual, IndividualCI, BatchedCI. (see https://docs.microsoft.com/en-us/azure/devops/pipelines/build/variables?view=azure-devops&viewFallbackFrom=vsts&tabs=yaml)", "required": false, "defaultValue": "Manual\nIndividualCI\nBatchedCI" }, { "name": "sourceBranchFilterForPush", "type": "multiLine", - "label": "Set the source branches (e.g. refs/heads/main) that are allowed to trigger a push of the dev container image. Leave empty to allow all.", + "label": "Set the source branches (e.g. refs/heads/main) that are allowed to trigger a push of the dev container image (if push=filter). Leave empty to allow all.", "required": false, "defaultValue": "" }, diff --git a/azdo-task/vss-extension.json b/azdo-task/vss-extension.json index f35b04cc..70265d3a 100644 --- a/azdo-task/vss-extension.json +++ b/azdo-task/vss-extension.json @@ -2,7 +2,7 @@ "manifestVersion": 1, "id": "devcontainer-build-run", "name": "Dev Container Build & Run Task", - "version": "0.0.1", + "version": "0.2.0", "publisher": "stuartleeks", "targets": [ {