From b73f94732afc2803e7671474f86bf72382472705 Mon Sep 17 00:00:00 2001 From: shiyingchen Date: Wed, 27 May 2026 16:58:54 +0800 Subject: [PATCH] use .net core sdk 10.x --- .azure/pipelines/release.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.azure/pipelines/release.yml b/.azure/pipelines/release.yml index 53d89ad3e..b4ecef37a 100644 --- a/.azure/pipelines/release.yml +++ b/.azure/pipelines/release.yml @@ -96,9 +96,9 @@ extends: echo $(MSBuildProperties) displayName: Print VersionSuffix and MSBuildProperties - task: UseDotNet@2 - displayName: Add 8.x + displayName: Add 10.x inputs: - version: 8.x + version: 10.x performMultiLevelLookup: true - ${{ if or( eq(parameters.isFinalBuild, false), eq(parameters.releaseSDKCore, true)) }}: - task: DotNetCoreCLI@2 @@ -179,15 +179,15 @@ extends: Invoke-WebRequest -Uri "https://aka.ms/downloadazcopy-v10-windows" -OutFile $zip if (Test-Path $dir) { Remove-Item $dir -Recurse -Force } Expand-Archive -Path $zip -DestinationPath $dir - + # The zip contains a subfolder like azcopy_windows_amd64_*/azcopy.exe $found = Get-ChildItem $dir -Recurse -Filter azcopy.exe | Select-Object -First 1 if (-not $found) { throw "azcopy.exe not found after extraction" } - + $az = $found.FullName Write-Host "AzCopy path: $az" & $az --version - + # Put it on PATH for subsequent steps in the same job Write-Host "##vso[task.prependpath]$($found.DirectoryName)" - task: AzurePowerShell@5 @@ -195,11 +195,11 @@ extends: inputs: azureSubscription: 'azuresdkpartnerdrops' ScriptType: 'InlineScript' - azurePowerShellVersion: LatestVersion + azurePowerShellVersion: LatestVersion pwsh: true Inline: | azcopy copy "$(Pipeline.Workspace)/Artifact/*" "https://azuresdkpartnerdrops.blob.core.windows.net/drops/azure-signalr/dotnet/$(BuildNumber)/" --recursive --log-level=INFO - env: + env: AZCOPY_AUTO_LOGIN_TYPE: 'PSCRED'