File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -173,9 +173,6 @@ extends:
173173 - stage : HomeBrew
174174 displayName : MacOS HomeBrew Deployment
175175 dependsOn : GitHub_Release_And_MSStore
176- variables :
177- - name : GitHubPAT
178- value : $(GitHubPAT)
179176 jobs :
180177 - job : PreDeploymentApprovalJob
181178 displayName : Pre-Deployment Approval
@@ -195,8 +192,10 @@ extends:
195192 steps :
196193 - task : CmdLine@2
197194 displayName : Checkout HomeBrew Repo
195+ env :
196+ GITHUB_PAT : $(GitHubPAT)
198197 inputs :
199- script : git clone https://oauth2:$(GitHubPAT) @github.com/microsoft/homebrew-msstore-cli.git $(Pipeline.Workspace)\homebrew-msstore-cli
198+ script : git clone https://oauth2:%GITHUB_PAT% @github.com/microsoft/homebrew-msstore-cli.git $(Pipeline.Workspace)\homebrew-msstore-cli
200199 - task : DownloadGitHubRelease@0
201200 displayName : Download GitHub Release
202201 inputs :
You can’t perform that action at this time.
0 commit comments