From 6d5a909084a5ec18d0fb3769f03522980c4792f8 Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Wed, 25 Jun 2025 09:53:19 -0700 Subject: [PATCH] Sync eng/common directory with azure-sdk-tools for PR 10990 (#6644) --- eng/common/pipelines/codeowners-linter.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/eng/common/pipelines/codeowners-linter.yml b/eng/common/pipelines/codeowners-linter.yml index 4fe03ab3f..cf4d11341 100644 --- a/eng/common/pipelines/codeowners-linter.yml +++ b/eng/common/pipelines/codeowners-linter.yml @@ -38,13 +38,10 @@ stages: UserOrgUri: "https://azuresdkartifacts.blob.core.windows.net/azure-sdk-write-teams/user-org-visibility-blob" steps: - - task: DotNetCoreCLI@2 - displayName: 'Install CodeownersLinter' - inputs: - command: custom - custom: 'tool' - arguments: 'install --global --add-source "$(DotNetDevOpsFeed)" --version "$(CodeownersLinterVersion)" "Azure.Sdk.Tools.CodeownersLinter"' - workingDirectory: '$(Build.SourcesDirectory)/eng/common' + - pwsh: | + dotnet tool install --global --add-source "$(DotNetDevOpsFeed)" --version "$(CodeownersLinterVersion)" "Azure.Sdk.Tools.CodeownersLinter" + displayName: Install CodeownersLinter + 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 - ${{ if eq(variables['Build.Reason'], 'PullRequest') }}: - pwsh: |