Skip to content

Commit

Permalink
Limit PipAuthenticate in Private Project now (microsoft#22954)
Browse files Browse the repository at this point in the history
### Description
Fixes regression in post merge pipeline caused by microsoft#22612



### Motivation and Context
So far, there isn't  the artifactFeeds in Public Project
  • Loading branch information
mszhanyi authored Nov 27, 2024
1 parent fe749a8 commit b930b4a
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions tools/ci_build/github/azure-pipelines/templates/win-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,10 +130,12 @@ stages:

- template: telemetry-steps.yml

- task: PipAuthenticate@1
displayName: 'Pip Authenticate'
inputs:
artifactFeeds: 'Lotus'
# The private ADO project
- ${{ if eq(variables['System.CollectionId'], 'bc038106-a83b-4dab-9dd3-5a41bc58f34c') }}:
- task: PipAuthenticate@1
displayName: 'Pip Authenticate'
inputs:
artifactFeeds: 'Lotus'

- ${{ if eq(parameters['buildJava'], 'true') }}:
- task: JavaToolInstaller@0
Expand Down Expand Up @@ -378,10 +380,12 @@ stages:
addToPath: true
architecture: ${{ parameters.buildArch }}

- task: PipAuthenticate@1
displayName: 'Pip Authenticate'
inputs:
artifactFeeds: 'Lotus'
# The private ADO project
- ${{ if eq(variables['System.CollectionId'], 'bc038106-a83b-4dab-9dd3-5a41bc58f34c') }}:
- task: PipAuthenticate@1
displayName: 'Pip Authenticate'
inputs:
artifactFeeds: 'Lotus'

- task: NodeTool@0
condition: and(succeeded(), eq('${{ parameters.buildNodejs}}', true))
Expand Down

0 comments on commit b930b4a

Please sign in to comment.