Update feed and analyzer dependency (#16327)

This commit is contained in:
Aditya Patwardhan 2021-10-28 20:51:35 -07:00 committed by GitHub
parent 979f105a99
commit b2dd88ec8b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -1,7 +1,7 @@
<Project> <Project>
<ItemGroup> <ItemGroup>
<PackageReference Include="DotNetAnalyzers.DocumentationAnalyzers" Version="1.0.0-beta.59" PrivateAssets="all" /> <PackageReference Include="DotNetAnalyzers.DocumentationAnalyzers" Version="1.0.0-beta.59" PrivateAssets="all" />
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="6.0.0-rtm.21518.1" PrivateAssets="all" /> <PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="6.0.0" PrivateAssets="all" />
<PackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.354" PrivateAssets="all" /> <PackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.354" PrivateAssets="all" />
</ItemGroup> </ItemGroup>
</Project> </Project>

View file

@ -15,11 +15,11 @@ steps:
condition: and(succeededOrFailed(), ne(variables['AzDevOpsFeed'], '')) condition: and(succeededOrFailed(), ne(variables['AzDevOpsFeed'], ''))
- pwsh: | - pwsh: |
Import-Module ${{ parameters.repoRoot }}/build.psm1 -Force Import-Module ${{ parameters.repoRoot }}/build.psm1 -Force
New-NugetConfigFile -NugetFeedUrl $(AzDevOpsPackageFeed) -UserName $(AzDevOpsFeedUserName) -ClearTextPAT $(AzDevOpsFeedPAT2) -FeedName AzDevOpsFeed -Destination '${{ parameters.repoRoot }}' New-NugetConfigFile -NugetFeedUrl $(PSInternalNugetFeed) -UserName $(PSInternalNugetFeedUserName) -ClearTextPAT $(PSInternalNugetFeedPAT) -FeedName AzDevOpsFeed -Destination '${{ parameters.repoRoot }}'
if(-not (Test-Path "${{ parameters.repoRoot }}/nuget.config")) if(-not (Test-Path "${{ parameters.repoRoot }}/nuget.config"))
{ {
throw "nuget.config is not created" throw "nuget.config is not created"
} }
displayName: 'Add nuget.config for Azure DevOps feed for packages' displayName: 'Add nuget.config for Azure DevOps feed for packages'
condition: and(succeededOrFailed(), ne(variables['AzDevOpsPackageFeed'], '')) condition: and(succeededOrFailed(), ne(variables['PSInternalNugetFeed'], ''))