File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -192,12 +192,8 @@ extends:
192192 steps :
193193 - task : CmdLine@2
194194 displayName : Checkout HomeBrew Repo
195- env :
196- GITHUB_PAT : $(GitHubPAT)
197195 inputs :
198- script : |-
199- if "%GITHUB_PAT%"=="" (echo ##[error]GITHUB_PAT is empty & exit 1)
200- git clone https://x-access-token:%GITHUB_PAT%@github.com/microsoft/homebrew-msstore-cli.git $(Pipeline.Workspace)\homebrew-msstore-cli
196+ script : git clone https://github.com/microsoft/homebrew-msstore-cli.git $(Pipeline.Workspace)\homebrew-msstore-cli
201197 - task : DownloadGitHubRelease@0
202198 displayName : Download GitHub Release
203199 inputs :
@@ -220,6 +216,7 @@ extends:
220216 inputs :
221217 workingDirectory : $(Pipeline.Workspace)\homebrew-msstore-cli
222218 script : |-
219+ if "%GITHUB_PAT%"=="" (echo ##vso[task.logissue type=error;]GITHUB_PAT is empty & exit /b 1)
223220 git config user.email "msstore.cli.dev.bot@microsoft.com"
224221 git config user.name "MSStore CLI Dev Bot"
225222 git add -f Formula\msstore-cli.rb
You can’t perform that action at this time.
0 commit comments