diff --git a/.azure/pipelines/release.yml b/.azure/pipelines/release.yml index 57051a138..f6263570d 100644 --- a/.azure/pipelines/release.yml +++ b/.azure/pipelines/release.yml @@ -175,12 +175,14 @@ extends: inputs: BuildDropPath: artifacts - ${{ if eq(parameters.isFinalBuild, true) }}: - - task: AzureFileCopy@6 - displayName: SDK Partner Release AzCopy + - task: AzurePowerShell@5 + displayName: 'Upload files to partner drop folder' inputs: - SourcePath: artifacts/* - ConnectedServiceNameARM: azuresdkpartnerdrops_javatooling - Destination: AzureBlob - StorageAccountRM: azuresdkpartnerdrops - ContainerName: drops - BlobPrefix: azure-signalr/dotnet/$(BuildNumber) + azureSubscription: 'azuresdkpartnerdrops' + ScriptType: 'InlineScript' + azurePowerShellVersion: LatestVersion + pwsh: true + Inline: | + azcopy copy "artifacts/*" "https://azuresdkpartnerdrops.blob.core.windows.net/drops/azure-signalr/dotnet/$(BuildNumber)/" + env: + AZCOPY_AUTO_LOGIN_TYPE: 'PSCRED'