Skip to content

Commit

Permalink
Merge pull request #110 from stuartleeks/sl/version-0.2
Browse files Browse the repository at this point in the history
Update AzDO task version to 0.2
  • Loading branch information
stuartleeks authored May 19, 2022
2 parents b40fd8c + dde48c4 commit fc75387
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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()'
9 changes: 5 additions & 4 deletions azdo-task/DevContainerBuildRun/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"category": "Build",
"version": {
"Major": 0,
"Minor": 1,
"Minor": 2,
"Patch": 0
},
"visibility": [
Expand Down Expand Up @@ -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": ""
},
Expand Down
2 changes: 1 addition & 1 deletion azdo-task/vss-extension.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
{
Expand Down

0 comments on commit fc75387

Please sign in to comment.