From e1496ce72f80c3a143d8ac7bda5ee54725adbe4e Mon Sep 17 00:00:00 2001 From: Jesse Houwing Date: Fri, 19 Sep 2025 13:49:59 +0200 Subject: [PATCH] Reorder inputs to allow tasn to be published to marketplace Otherwise one will get the following error: Task definition input 'nuGetServiceConnections' should come before Task definition input 'workloadIdentityServiceConnection' as per dependent inputs order for Task with ID 'XXXX'. --- Tasks/NuGetAuthenticateV1/task.json | 2 +- .../NuGetAuthenticateV1/taskJsonOverride.json | 22 +++++++++---------- .../taskJsonOverride.loc.json | 22 +++++++++---------- 3 files changed, 23 insertions(+), 23 deletions(-) diff --git a/Tasks/NuGetAuthenticateV1/task.json b/Tasks/NuGetAuthenticateV1/task.json index 82b99dd3f7e9..94f06e50e215 100644 --- a/Tasks/NuGetAuthenticateV1/task.json +++ b/Tasks/NuGetAuthenticateV1/task.json @@ -14,7 +14,7 @@ "version": { "Major": 1, "Minor": 263, - "Patch": 4 + "Patch": 6 }, "minimumAgentVersion": "2.144.0", "instanceNameFormat": "NuGet Authenticate", diff --git a/Tasks/NuGetAuthenticateV1/taskJsonOverride.json b/Tasks/NuGetAuthenticateV1/taskJsonOverride.json index 7f659765dca7..03a0d560e853 100644 --- a/Tasks/NuGetAuthenticateV1/taskJsonOverride.json +++ b/Tasks/NuGetAuthenticateV1/taskJsonOverride.json @@ -1,5 +1,16 @@ { "inputs": [ + { + "name": "nuGetServiceConnections", + "type": "connectedService:ExternalNuGetFeed", + "label": "Service connection credentials for feeds outside this organization", + "required": false, + "helpMarkDown": "Comma-separated list of NuGet service connection names for feeds outside this organization/collection. For feeds in this organization/collection, leave this blank; the build’s credentials are used automatically.", + "properties": { + "EditableOptions": "False", + "MultiSelectFlatList": "True" + } + }, { "name": "workloadIdentityServiceConnection", "aliases": ["azureDevOpsServiceConnection"], @@ -28,17 +39,6 @@ "label": "Reinstall the credential provider even if already installed", "defaultValue": "false", "helpMarkDown": "If the credential provider is already installed in the user profile, determines if it is overwritten with the task-provided credential provider. This may upgrade (or potentially downgrade) the credential provider." - }, - { - "name": "nuGetServiceConnections", - "type": "connectedService:ExternalNuGetFeed", - "label": "Service connection credentials for feeds outside this organization", - "required": false, - "helpMarkDown": "Comma-separated list of NuGet service connection names for feeds outside this organization/collection. For feeds in this organization/collection, leave this blank; the build’s credentials are used automatically.", - "properties": { - "EditableOptions": "False", - "MultiSelectFlatList": "True" - } } ] } \ No newline at end of file diff --git a/Tasks/NuGetAuthenticateV1/taskJsonOverride.loc.json b/Tasks/NuGetAuthenticateV1/taskJsonOverride.loc.json index abdeb52b1b1a..5a8bfda27364 100644 --- a/Tasks/NuGetAuthenticateV1/taskJsonOverride.loc.json +++ b/Tasks/NuGetAuthenticateV1/taskJsonOverride.loc.json @@ -1,5 +1,16 @@ { "inputs": [ + { + "name": "nuGetServiceConnections", + "type": "connectedService:ExternalNuGetFeed", + "label": "ms-resource:loc.input.label.nuGetServiceConnections", + "required": false, + "helpMarkDown": "ms-resource:loc.input.help.nuGetServiceConnections", + "properties": { + "EditableOptions": "False", + "MultiSelectFlatList": "True" + } + }, { "name": "workloadIdentityServiceConnection", "aliases": ["azureDevOpsServiceConnection"], @@ -28,17 +39,6 @@ "label": "ms-resource:loc.input.label.forceReinstallCredentialProvider", "defaultValue": "false", "helpMarkDown": "ms-resource:loc.input.help.forceReinstallCredentialProvider" - }, - { - "name": "nuGetServiceConnections", - "type": "connectedService:ExternalNuGetFeed", - "label": "ms-resource:loc.input.label.nuGetServiceConnections", - "required": false, - "helpMarkDown": "ms-resource:loc.input.help.nuGetServiceConnections", - "properties": { - "EditableOptions": "False", - "MultiSelectFlatList": "True" - } } ] } \ No newline at end of file