From 4318215982758110a2e5ece67d3c2beccf90bc8c Mon Sep 17 00:00:00 2001 From: Rui Marinho Date: Fri, 12 Jul 2024 14:21:40 +0100 Subject: [PATCH] [darc] Pin darc version as workaround --- eng/pipelines/common/sdk-insertion.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/pipelines/common/sdk-insertion.yml b/eng/pipelines/common/sdk-insertion.yml index 1d26eaa6908b..abbecd2c6ce6 100644 --- a/eng/pipelines/common/sdk-insertion.yml +++ b/eng/pipelines/common/sdk-insertion.yml @@ -78,7 +78,7 @@ jobs: $versionEndpoint = 'https://maestro.dot.net/api/assets/darc-version?api-version=2019-01-16' $darcVersion = $(Invoke-WebRequest -Uri $versionEndpoint -UseBasicParsing).Content $arcadeServicesSource = 'https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-eng/nuget/v3/index.json' - & dotnet tool update microsoft.dotnet.darc --version "$darcVersion" --add-source "$arcadeServicesSource" --tool-path $(Agent.ToolsDirectory)\darc -v n + & dotnet tool update microsoft.dotnet.darc --version "1.1.0-beta.24327.1" --add-source "$arcadeServicesSource" --tool-path $(Agent.ToolsDirectory)\darc -v n & $(Agent.ToolsDirectory)\darc\darc add-build-to-channel --default-channels --id $(BARBuildId) --publishing-infra-version 3 --password $(MaestroAccessToken) --azdev-pat $(publishing-dnceng-devdiv-code-r-build-re) displayName: Add build to default darc channel condition: and(succeeded(), eq('${{ parameters.pushMauiPackagesToMaestro }}', 'true'))