Set WorkingDirectory so the dotnet tools install works on non-windows (#5144)
Co-authored-by: James Suplizio <jasupliz@microsoft.com>
This commit is contained in:
parent
4997ec8a9f
commit
0ca8a1d9d5
@ -20,6 +20,7 @@ stages:
|
||||
- stage: Run
|
||||
variables:
|
||||
skipComponentGovernanceDetection: true
|
||||
nugetMultiFeedWarnLevel: 'none'
|
||||
|
||||
jobs:
|
||||
- job: Run
|
||||
@ -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'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user