Skip to content

Commit

Permalink
Set WorkingDirectory so the dotnet tools install works on non-windows (
Browse files Browse the repository at this point in the history
…Azure#39874)

Co-authored-by: James Suplizio <[email protected]>
  • Loading branch information
azure-sdk and JimSuplizio authored Nov 9, 2023
1 parent 2427b29 commit f3e270c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions eng/common/pipelines/codeowners-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ stages:
- stage: Run
variables:
skipComponentGovernanceDetection: true
nugetMultiFeedWarnLevel: 'none'

jobs:
- job: Run
Expand All @@ -42,6 +43,8 @@ stages:
command: custom
custom: 'tool'
arguments: 'install --global --add-source "$(DotNetDevOpsFeed)" --version "$(CodeownersLinterVersion)" "Azure.Sdk.Tools.CodeownersLinter"'
workingDirectory: '$(Build.SourcesDirectory)/eng/common'
- pwsh: |
codeowners-linter --repoRoot $(Build.SourcesDirectory) --repoName $(Build.Repository.Name) -fbl -rUri "$(RepoLabelUri)" -tUri "$(TeamUserUri)" -uUri "$(UserOrgUri)"
displayName: 'Lint CODEOWNERS and filter using baseline'
workingDirectory: '$(Build.SourcesDirectory)/eng/common'

0 comments on commit f3e270c

Please sign in to comment.