Skip to content

Commit 851129b

Browse files
authored
Sync eng/common directory with azure-sdk-tools for PR 10990 (#35458)
1 parent f6f49d9 commit 851129b

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

eng/common/pipelines/codeowners-linter.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,10 @@ stages:
3838
UserOrgUri: "https://azuresdkartifacts.blob.core.windows.net/azure-sdk-write-teams/user-org-visibility-blob"
3939

4040
steps:
41-
- task: DotNetCoreCLI@2
42-
displayName: 'Install CodeownersLinter'
43-
inputs:
44-
command: custom
45-
custom: 'tool'
46-
arguments: 'install --global --add-source "$(DotNetDevOpsFeed)" --version "$(CodeownersLinterVersion)" "Azure.Sdk.Tools.CodeownersLinter"'
47-
workingDirectory: '$(Build.SourcesDirectory)/eng/common'
41+
- pwsh: |
42+
dotnet tool install --global --add-source "$(DotNetDevOpsFeed)" --version "$(CodeownersLinterVersion)" "Azure.Sdk.Tools.CodeownersLinter"
43+
displayName: Install CodeownersLinter
44+
workingDirectory: '$(Agent.WorkFolder)' # Some directory outside of the source clone to avoid hitting global.json files when any version of dotnet will work for this install
4845
4946
- ${{ if eq(variables['Build.Reason'], 'PullRequest') }}:
5047
- pwsh: |

0 commit comments

Comments
 (0)