Skip to content

Commit ebe3b5e

Browse files
update autorelease resolve step as authenticated step (#48073)
Co-authored-by: Praveen Kuttappan <prmarott@microsoft.com>
1 parent e5f122a commit ebe3b5e

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

eng/common/pipelines/templates/stages/archetype-auto-release-prepare.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ stages:
5656

5757
- template: /eng/common/pipelines/templates/steps/install-azsdk-cli.yml
5858

59-
- task: PowerShell@2
59+
- task: AzureCLI@2
6060
name: resolve
6161
displayName: Determine releasable packages
6262
env:
@@ -65,8 +65,10 @@ stages:
6565
# Map the secret token to env so it is not written to the task command line.
6666
GH_TOKEN: $(GH_TOKEN)
6767
inputs:
68-
pwsh: true
69-
filePath: $(System.DefaultWorkingDirectory)/eng/common/scripts/Resolve-AutoReleasePackages.ps1
68+
azureSubscription: opensource-api-connection
69+
scriptType: pscore
70+
scriptLocation: scriptPath
71+
scriptPath: $(System.DefaultWorkingDirectory)/eng/common/scripts/Resolve-AutoReleasePackages.ps1
7072
arguments: >
7173
-CommitSha "$(Build.SourceVersion)"
7274
-RepoId "$(Build.Repository.Name)"

0 commit comments

Comments
 (0)